[MPlayer-cvslog] r18931 - trunk/TOOLS/cpuinfo.c

diego subversion at mplayerhq.hu
Fri Jul 7 11:22:53 CEST 2006


Author: diego
Date: Fri Jul  7 11:22:53 2006
New Revision: 18931

Modified:
   trunk/TOOLS/cpuinfo.c

Log:
usleep is still missing in MinGW, so leave it out of the MinGW version check.


Modified: trunk/TOOLS/cpuinfo.c
==============================================================================
--- trunk/TOOLS/cpuinfo.c	(original)
+++ trunk/TOOLS/cpuinfo.c	Fri Jul  7 11:22:53 2006
@@ -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



More information about the MPlayer-cvslog mailing list