diff --git a/src/ChangeLog b/src/ChangeLog index a2a62106..1b74862d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-04-08 Hrvoje Niksic + + * ptimer.c (ptimer_diff): Fix typo affecting Windows build. + 2005-04-08 Hrvoje Niksic * ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to diff --git a/src/ptimer.c b/src/ptimer.c index 47980cfc..4fb54cf8 100644 --- a/src/ptimer.c +++ b/src/ptimer.c @@ -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;