mirror of
https://github.com/mirror/wget.git
synced 2025-01-18 00:00:20 +08:00
[svn] Fix typo affecting Windows build.
This commit is contained in:
parent
36c5be475e
commit
1d84ce751b
@ -1,3 +1,7 @@
|
|||||||
|
2005-04-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* ptimer.c (ptimer_diff): Fix typo affecting Windows build.
|
||||||
|
|
||||||
2005-04-08 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-04-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to
|
* ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to
|
||||||
|
@ -314,7 +314,7 @@ ptimer_diff (ptimer_system_time *pst1, ptimer_system_time *pst2)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
if (using_hires_timers)
|
if (windows_hires_timers)
|
||||||
return (pst1->hires.QuadPart - pst2->hires.QuadPart) / windows_hires_msfreq;
|
return (pst1->hires.QuadPart - pst2->hires.QuadPart) / windows_hires_msfreq;
|
||||||
else
|
else
|
||||||
return pst1->lores - pst2->lores;
|
return pst1->lores - pst2->lores;
|
||||||
|
Loading…
Reference in New Issue
Block a user