Commit 3f35c3e3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert [19092] and really fix the variable naming problem - closes #1082

parent 620490ef
......@@ -160,7 +160,6 @@ mtime_t mdate( void )
#elif defined( WIN32 ) || defined( UNDER_CE )
/* We don't need the real date, just the value of a high precision timer */
static mtime_t freq = I64C(-1);
mtime_t usec_time;
if( freq == I64C(-1) )
{
......@@ -226,9 +225,9 @@ mtime_t mdate( void )
{
/* Counter wrapped */
i_wrap_counts++;
usec_time += I64C(0x100000000) * 1000;
res += I64C(0x100000000) * 1000;
}
i_previous_time = usec_time;
i_previous_time = res;
LeaveCriticalSection( &date_lock );
}
#else
......
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