From f78a2c49108d2b7a516cb8109de3776c10dc4fc4 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 5 Jul 2006 22:47:47 +0000 Subject: 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 --- TOOLS/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TOOLS/cpuinfo.c') 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 #include -#ifdef __MINGW32__ +#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10) #include void gettimeofday(struct timeval* t,void* timezone) { struct timeb timebuffer; -- cgit v1.2.3