Mercurial > mplayer.hg
changeset 10825:b9bbfd4a0acc
fix debug compilation on mingw
author | faust3 |
---|---|
date | Sat, 06 Sep 2003 13:36:15 +0000 |
parents | d163db068a12 |
children | ea6a03614754 |
files | libmpdvdkit2/dvd_reader.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdvdkit2/dvd_reader.c Sat Sep 06 13:21:08 2003 +0000 +++ b/libmpdvdkit2/dvd_reader.c Sat Sep 06 13:36:15 2003 +0000 @@ -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"