e8cc449f RJ |
1 | #ifndef INCLUDE_mingw_compat__ |
2 | #define INCLUDE_mingw_compat__ |
3 | |
4 | #if defined(__MINGW32__) |
5 | |
6 | /* use a 64-bit file offset type */ |
e8cc449f RJ |
7 | # define lseek _lseeki64 |
8 | # define stat _stati64 |
9 | # define fstat _fstati64 |
10 | |
11 | #endif |
12 | |
13 | #endif /* INCLUDE_mingw_compat__ */ |