[svn] Fix typo affecting Windows build.

This commit is contained in:
hniksic 2005-04-08 02:18:26 -07:00
parent 36c5be475e
commit 1d84ce751b
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to

View File

@ -314,7 +314,7 @@ ptimer_diff (ptimer_system_time *pst1, ptimer_system_time *pst2)
#endif
#ifdef WINDOWS
if (using_hires_timers)
if (windows_hires_timers)
return (pst1->hires.QuadPart - pst2->hires.QuadPart) / windows_hires_msfreq;
else
return pst1->lores - pst2->lores;