aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-07 09:22:53 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-07 09:22:53 +0000
commit5af17a02d5c5a55bea434f5fdb33a13a9609f38c (patch)
tree45420453f8e468a0303e504bfd261935452a83fe /TOOLS
parent73b23be06dc16f88f7204f7538cbcdbcab592b28 (diff)
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
Diffstat (limited to 'TOOLS')
-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