1 diff -Naur libdvdread.orig/src/dvd_input.h libdvdread/src/dvd_input.h
2 --- libdvdread.orig/src/dvd_input.h 2008-10-03 13:11:30.000000000 -0700
3 +++ libdvdread/src/dvd_input.h 2009-04-23 13:47:04.000000000 -0700
6 #define DVDINPUT_READ_DECRYPT (1 << 0)
8 +#if defined( __MINGW32__ )
10 +# define lseek _lseeki64
12 +# define fseeko fseeko64
14 +# define ftello ftello64
15 +# define flockfile(...)
16 +# define funlockfile(...)
17 +# define getc_unlocked getc
19 +# define off_t off64_t
21 +# define stat _stati64
22 +# define fstat _fstati64
23 +# define wstat _wstati64
26 typedef struct dvd_input_s *dvd_input_t;