# HG changeset patch # User reimar # Date 1238182490 0 # Node ID b9b2967c0c6da38622c7d6d23cdcd77592ac0827 # Parent 77ebd420214944194ef205333085319c1493cda3 Get rid of gettimeofday reimplementation for MinGW, all remotely recent versions of MinGW already provide it. diff -r 77ebd4202149 -r b9b2967c0c6d cpuinfo.c --- a/cpuinfo.c Fri Mar 27 19:09:33 2009 +0000 +++ b/cpuinfo.c Fri Mar 27 19:34:50 2009 +0000 @@ -8,15 +8,6 @@ #include #include -#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10) && !defined(MINGW64) -#include -void gettimeofday(struct timeval* t,void* timezone) { - struct timeb timebuffer; - ftime( &timebuffer ); - t->tv_sec=timebuffer.time; - t->tv_usec=1000*timebuffer.millitm; -} -#endif #ifdef __MINGW32__ #define MISSING_USLEEP #include