Mercurial > mplayer.hg
comparison libmpdvdkit2/dvd_reader.c @ 10825:b9bbfd4a0acc
fix debug compilation on mingw
author | faust3 |
---|---|
date | Sat, 06 Sep 2003 13:36:15 +0000 |
parents | dc98cee9a50f |
children | 663fdd72e594 |
comparison
equal
deleted
inserted
replaced
10824:d163db068a12 | 10825:b9bbfd4a0acc |
---|---|
41 #include </usr/conf/h/mnttab.h> | 41 #include </usr/conf/h/mnttab.h> |
42 #elif defined(SYS_BSD) | 42 #elif defined(SYS_BSD) |
43 #include <fstab.h> | 43 #include <fstab.h> |
44 #elif defined(__linux__) | 44 #elif defined(__linux__) |
45 #include <mntent.h> | 45 #include <mntent.h> |
46 #endif | |
47 | |
48 #ifdef __MINGW32__ | |
49 #include <sys/timeb.h> | |
50 static void gettimeofday(struct timeval* t,void* timezone){ | |
51 struct timeb timebuffer; | |
52 ftime( &timebuffer ); | |
53 t->tv_sec=timebuffer.time; | |
54 t->tv_usec=1000*timebuffer.millitm; | |
55 } | |
46 #endif | 56 #endif |
47 | 57 |
48 #include "dvd_udf.h" | 58 #include "dvd_udf.h" |
49 #include "dvd_input.h" | 59 #include "dvd_input.h" |
50 #include "dvd_reader.h" | 60 #include "dvd_reader.h" |