Mercurial > libdvdread4.hg
comparison dvd_input.h @ 51:f06a93055430 src
Win32: large file support under Mingw to go over 2G limits
Patch by John Stebbins of Handbrake
author | jb |
---|---|
date | Tue, 01 Jun 2010 17:07:13 +0000 |
parents | ac07d427fbc6 |
children |
comparison
equal
deleted
inserted
replaced
50:60720f86d145 | 51:f06a93055430 |
---|---|
29 | 29 |
30 #define DVDINPUT_READ_DECRYPT (1 << 0) | 30 #define DVDINPUT_READ_DECRYPT (1 << 0) |
31 | 31 |
32 typedef struct dvd_input_s *dvd_input_t; | 32 typedef struct dvd_input_s *dvd_input_t; |
33 | 33 |
34 #if defined( __MINGW32__ ) | |
35 # undef lseek | |
36 # define lseek _lseeki64 | |
37 # undef off_t | |
38 # define off_t off64_t | |
39 # undef stat | |
40 # define stat _stati64 | |
41 # define fstat _fstati64 | |
42 # define wstat _wstati64 | |
43 #endif | |
44 | |
34 /** | 45 /** |
35 * Function pointers that will be filled in by the input implementation. | 46 * Function pointers that will be filled in by the input implementation. |
36 * These functions provide the main API. | 47 * These functions provide the main API. |
37 */ | 48 */ |
38 extern dvd_input_t (*dvdinput_open) (const char *); | 49 extern dvd_input_t (*dvdinput_open) (const char *); |