From 5af17a02d5c5a55bea434f5fdb33a13a9609f38c Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 7 Jul 2006 09:22:53 +0000 Subject: usleep is still missing in MinGW, so leave it out of the MinGW version check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18931 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/cpuinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TOOLS') 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 -- cgit v1.2.3