summaryrefslogtreecommitdiffstats
path: root/cpuinfo.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 19:34:50 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 19:34:50 +0000
commita3015a1795ea789c01685747afd8410c61c02174 (patch)
treeae7c6cb0e3c206114218474a5f7cfb33e76ce839 /cpuinfo.c
parent4bd56941cb0a8a484d0045725ac3416ccf9a5092 (diff)
downloadmpv-a3015a1795ea789c01685747afd8410c61c02174.tar.bz2
mpv-a3015a1795ea789c01685747afd8410c61c02174.tar.xz
Get rid of gettimeofday reimplementation for MinGW, all remotely recent
versions of MinGW already provide it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29075 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpuinfo.c')
-rw-r--r--cpuinfo.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpuinfo.c b/cpuinfo.c
index 78f5d5b7d2..3c58009906 100644
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -8,15 +8,6 @@
#include <string.h>
#include <unistd.h>
-#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10) && !defined(MINGW64)
-#include <sys/timeb.h>
-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 <windows.h>