summaryrefslogtreecommitdiffstats
path: root/dvdread/dvd_reader.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-21 17:12:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-21 17:12:30 +0000
commit0816147935be33b08d7c2e7558d12244ac18caf0 (patch)
tree828ba682fd378973b471e0bdc7b1cfc60d4aa9ef /dvdread/dvd_reader.c
parentf12a0e61cc484e8175164303c3c6b92ee53ef942 (diff)
downloadmpv-0816147935be33b08d7c2e7558d12244ac18caf0.tar.bz2
mpv-0816147935be33b08d7c2e7558d12244ac18caf0.tar.xz
Remove Windows-only replacement gettimeofday() implementation, both Cygwin
and MinGW have gettimeofday() in recent versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24115 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dvdread/dvd_reader.c')
-rw-r--r--dvdread/dvd_reader.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/dvdread/dvd_reader.c b/dvdread/dvd_reader.c
index 0914bc6391..49140544e4 100644
--- a/dvdread/dvd_reader.c
+++ b/dvdread/dvd_reader.c
@@ -189,18 +189,6 @@ void SetAlignHandle(dvd_reader_t *device, void *align)
dev->align = align;
}
-#ifdef WIN32 /* replacement gettimeofday implementation */
-#include <sys/timeb.h>
-static int gettimeofday( struct timeval *tv, void *tz )
-{
- struct timeb t;
- ftime( &t );
- tv->tv_sec = t.time;
- tv->tv_usec = t.millitm * 1000;
- return 0;
-}
-#endif
-
/* Loop over all titles and call dvdcss_title to crack the keys. */
static int initAllCSSKeys( dvd_reader_t *dvd )