Commit 7d901182 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport [18545] RTC fix

parent fa8f490a
......@@ -143,7 +143,7 @@ mtime_t mdate( void )
*/
freq = ( QueryPerformanceFrequency( (LARGE_INTEGER *)&freq ) &&
(freq == I64C(1193182) || freq == I64C(3579545) ) )
(buf.QuadPart == I64C(1193182) || buf.QuadPart == I64C(3579545) ) )
? freq : 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