changeset 18926:a163f6de7bdc

usleep is still missing in MinGW, so leave it out of the MinGW version check.
author diego
date Fri, 07 Jul 2006 09:22:53 +0000
parents 7e6f4455b732
children 278eaf3ed5d8
files TOOLS/cpuinfo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/cpuinfo.c	Fri Jul 07 09:10:43 2006 +0000
+++ b/TOOLS/cpuinfo.c	Fri Jul 07 09:22:53 2006 +0000
@@ -16,6 +16,8 @@
   t->tv_sec=timebuffer.time;
   t->tv_usec=1000*timebuffer.millitm;
 }
+#endif
+#ifdef __MINGW32__
 #define MISSING_USLEEP
 #define sleep(t) _sleep(1000*t);
 #endif