summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-05 22:47:47 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-05 22:47:47 +0000
commitf78a2c49108d2b7a516cb8109de3776c10dc4fc4 (patch)
tree0eac5fca6feb1234884cf779652cc3c38d5e71ee /TOOLS
parente8357eac0f35475135abd70a0b2816101f2291ff (diff)
downloadmpv-f78a2c49108d2b7a516cb8109de3776c10dc4fc4.tar.bz2
mpv-f78a2c49108d2b7a516cb8109de3776c10dc4fc4.tar.xz
MinGW 3.1 has added gettimeofday.
based on a patch by Gianluigi Tiesi mplayer++at++netfarm++dot++it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18915 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/cpuinfo.c b/TOOLS/cpuinfo.c
index 25c6d1d6b4..7375e4e36a 100644
--- a/TOOLS/cpuinfo.c
+++ b/TOOLS/cpuinfo.c
@@ -8,7 +8,7 @@
#include <string.h>
#include <unistd.h>
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10)
#include <sys/timeb.h>
void gettimeofday(struct timeval* t,void* timezone) {
struct timeb timebuffer;