[Mplayer-cvslog] CVS: main/libmpdvdkit2 dvd_reader.c,1.9,1.10

Sascha Sommer CVS faust3 at mplayerhq.hu
Sat Sep 6 15:36:41 CEST 2003


Update of /cvsroot/mplayer/main/libmpdvdkit2
In directory mail:/var/tmp.root/cvs-serv22285

Modified Files:
	dvd_reader.c 
Log Message:
fix debug compilation on mingw

Index: dvd_reader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdvdkit2/dvd_reader.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- dvd_reader.c	3 Aug 2003 17:06:18 -0000	1.9
+++ dvd_reader.c	6 Sep 2003 13:36:15 -0000	1.10
@@ -45,6 +45,16 @@
 #include <mntent.h>
 #endif
 
+#ifdef __MINGW32__
+#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_udf.h"
 #include "dvd_input.h"
 #include "dvd_reader.h"



More information about the MPlayer-cvslog mailing list