diff dvdread/dvd_reader.c @ 24057:eb9f3e3723d1

Remove local MinGW gettimeofday() implementation, there is now a native one in the same file.
author diego
date Thu, 16 Aug 2007 10:47:22 +0000
parents 98ba5d5bfe2d
children b69c47dca975
line wrap: on
line diff
--- a/dvdread/dvd_reader.c	Thu Aug 16 07:00:08 2007 +0000
+++ b/dvdread/dvd_reader.c	Thu Aug 16 10:47:22 2007 +0000
@@ -51,16 +51,6 @@
 #include <mntent.h>
 #endif
 
-#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10)
-#include <sys/timeb.h>
-static void gettimeofday(struct timeval* t,void* timezone){
-    struct timeb timebuffer;
-    ftime( &timebuffer );
-    t->tv_sec=timebuffer.time;
-    t->tv_usec=1000*timebuffer.millitm;
-}
-#endif
-
 #include "dvd_reader.h"
 #include "dvd_input.h"
 #include "dvd_udf.h"