diff options
-rw-r--r-- | zconf.h.cmakein | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 4a5d9ea..0a36a72 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -414,11 +414,15 @@ typedef uLong FAR uLongf; | |||
414 | # define z_off_t long | 414 | # define z_off_t long |
415 | #endif | 415 | #endif |
416 | 416 | ||
417 | #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 | 417 | #if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0) |
418 | # define z_off64_t off64_t | 418 | # define z_off64_t off64_t |
419 | #else | 419 | #else |
420 | # if defined(_WIN32) | ||
421 | # define z_off64_t __int64 | ||
422 | # else | ||
420 | # define z_off64_t z_off_t | 423 | # define z_off64_t z_off_t |
421 | #endif | 424 | #endif |
425 | #endif | ||
422 | 426 | ||
423 | #if defined(__OS400__) | 427 | #if defined(__OS400__) |
424 | # define NO_vsnprintf | 428 | # define NO_vsnprintf |