diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-05 22:47:47 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-05 22:47:47 +0000 |
commit | f78a2c49108d2b7a516cb8109de3776c10dc4fc4 (patch) | |
tree | 0eac5fca6feb1234884cf779652cc3c38d5e71ee /TOOLS/cpuinfo.c | |
parent | e8357eac0f35475135abd70a0b2816101f2291ff (diff) | |
download | mpv-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/cpuinfo.c')
-rw-r--r-- | TOOLS/cpuinfo.c | 2 |
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; |