diff options
Diffstat (limited to 'opgui.c')
-rw-r--r-- | opgui.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1538,9 +1538,14 @@ void msDelay(double delay) /// /// Get system time DWORD GetTickCount(){ + struct timeval tv; + gettimeofday(&tv, NULL); + return tv.tv_sec*1000+tv.tv_usec/1000; +/* struct timeb now; ftime(&now); return now.time*1000+now.millitm; +*/ } #endif |