r21571 - trunk/TOOLS/cpuinfo.c
10 Dec
2006
10 Dec
'06
9:04 a.m.
Author: reimar Date: Sun Dec 10 15:04:27 2006 New Revision: 21571 Modified: trunk/TOOLS/cpuinfo.c Log: Avoid deprecated _sleep, instead include windows.h and use Sleep just like osdep/timer-win2.c does. Patch by Zuxy Meng [zuxy meng (at) gmail com] Modified: trunk/TOOLS/cpuinfo.c ============================================================================== --- trunk/TOOLS/cpuinfo.c (original) +++ trunk/TOOLS/cpuinfo.c Sun Dec 10 15:04:27 2006 @@ -19,7 +19,8 @@ #endif #ifdef __MINGW32__ #define MISSING_USLEEP -#define sleep(t) _sleep(1000*t); +#include <windows.h> +#define sleep(t) Sleep(1000*t); #endif #ifdef __BEOS__
6911
Age (days ago)
6911
Last active (days ago)
0 comments
1 participants
participants (1)
-
reimar