summaryrefslogtreecommitdiffstats
path: root/TOOLS/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/cpuinfo.c')
-rw-r--r--TOOLS/cpuinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/TOOLS/cpuinfo.c b/TOOLS/cpuinfo.c
index 7375e4e36a..8854eaed6c 100644
--- a/TOOLS/cpuinfo.c
+++ b/TOOLS/cpuinfo.c
@@ -16,6 +16,8 @@ void gettimeofday(struct timeval* t,void* timezone) {
t->tv_sec=timebuffer.time;
t->tv_usec=1000*timebuffer.millitm;
}
+#endif
+#ifdef __MINGW32__
#define MISSING_USLEEP
#define sleep(t) _sleep(1000*t);
#endif