[DVDnav-discuss] r1199 - trunk/libdvdread/src/dvd_input.h
jb
subversion at mplayerhq.hu
Tue Jun 1 19:07:13 CEST 2010
Author: jb
Date: Tue Jun 1 19:07:13 2010
New Revision: 1199
Log:
Win32: large file support under Mingw to go over 2G limits
Patch by John Stebbins of Handbrake
Modified:
trunk/libdvdread/src/dvd_input.h
Modified: trunk/libdvdread/src/dvd_input.h
==============================================================================
--- trunk/libdvdread/src/dvd_input.h Tue Jun 1 12:02:38 2010 (r1198)
+++ trunk/libdvdread/src/dvd_input.h Tue Jun 1 19:07:13 2010 (r1199)
@@ -31,6 +31,17 @@
typedef struct dvd_input_s *dvd_input_t;
+#if defined( __MINGW32__ )
+# undef lseek
+# define lseek _lseeki64
+# undef off_t
+# define off_t off64_t
+# undef stat
+# define stat _stati64
+# define fstat _fstati64
+# define wstat _wstati64
+#endif
+
/**
* Function pointers that will be filled in by the input implementation.
* These functions provide the main API.
More information about the DVDnav-discuss
mailing list