diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-27 19:34:50 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-27 19:34:50 +0000 |
commit | a3015a1795ea789c01685747afd8410c61c02174 (patch) | |
tree | ae7c6cb0e3c206114218474a5f7cfb33e76ce839 /cpuinfo.c | |
parent | 4bd56941cb0a8a484d0045725ac3416ccf9a5092 (diff) | |
download | mpv-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.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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> |