diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index fd0b09b15..c99612b9c 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -239,7 +239,9 @@ int mingw_mkdir(const char *path, int mode); | |||
239 | /* Use mingw_lstat()/mingw_stat() instead of lstat()/stat() and | 239 | /* Use mingw_lstat()/mingw_stat() instead of lstat()/stat() and |
240 | * mingw_fstat() instead of fstat() on Windows. | 240 | * mingw_fstat() instead of fstat() on Windows. |
241 | */ | 241 | */ |
242 | #define off_t off64_t | 242 | #if ENABLE_LFS |
243 | # define off_t off64_t | ||
244 | #endif | ||
243 | #define lseek _lseeki64 | 245 | #define lseek _lseeki64 |
244 | #define stat _stati64 | 246 | #define stat _stati64 |
245 | int mingw_lstat(const char *file_name, struct stat *buf); | 247 | int mingw_lstat(const char *file_name, struct stat *buf); |