[MPlayer-cvslog] r29075 - trunk/cpuinfo.c
reimar
subversion at mplayerhq.hu
Fri Mar 27 20:34:50 CET 2009
Author: reimar
Date: Fri Mar 27 20:34:50 2009
New Revision: 29075
Log:
Get rid of gettimeofday reimplementation for MinGW, all remotely recent
versions of MinGW already provide it.
Modified:
trunk/cpuinfo.c
Modified: trunk/cpuinfo.c
==============================================================================
--- trunk/cpuinfo.c Fri Mar 27 20:27:47 2009 (r29074)
+++ trunk/cpuinfo.c Fri Mar 27 20:34:50 2009 (r29075)
@@ -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>
More information about the MPlayer-cvslog
mailing list