Commit 86eae317 authored by Damien Fouilleul's avatar Damien Fouilleul

mtime.c: previous codepath prevented RTC from ever being used on win32

parent 6884bea8
......@@ -158,7 +158,7 @@ mtime_t mdate( void )
LARGE_INTEGER buf;
freq = ( QueryPerformanceFrequency( &buf ) &&
(freq == I64C(1193182) || freq == I64C(3579545) ) )
(buf.QuadPart == I64C(1193182) || buf.QuadPart == I64C(3579545) ) )
? buf.QuadPart : 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment