Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
24056:5b9dcfa2d0f0 | 24057:eb9f3e3723d1 |
---|---|
47 #include </usr/conf/h/mnttab.h> | 47 #include </usr/conf/h/mnttab.h> |
48 #elif defined(SYS_BSD) | 48 #elif defined(SYS_BSD) |
49 #include <fstab.h> | 49 #include <fstab.h> |
50 #elif defined(__linux__) || defined(__CYGWIN__) | 50 #elif defined(__linux__) || defined(__CYGWIN__) |
51 #include <mntent.h> | 51 #include <mntent.h> |
52 #endif | |
53 | |
54 #if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION <= 3) && (__MINGW32_MINOR_VERSION < 10) | |
55 #include <sys/timeb.h> | |
56 static void gettimeofday(struct timeval* t,void* timezone){ | |
57 struct timeb timebuffer; | |
58 ftime( &timebuffer ); | |
59 t->tv_sec=timebuffer.time; | |
60 t->tv_usec=1000*timebuffer.millitm; | |
61 } | |
62 #endif | 52 #endif |
63 | 53 |
64 #include "dvd_reader.h" | 54 #include "dvd_reader.h" |
65 #include "dvd_input.h" | 55 #include "dvd_input.h" |
66 #include "dvd_udf.h" | 56 #include "dvd_udf.h" |