diff options
Diffstat (limited to 'zconf.h.in')
-rw-r--r-- | zconf.h.in | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -368,7 +368,7 @@ typedef uLong FAR uLongf; | |||
368 | # include <sys/types.h> /* for off_t */ | 368 | # include <sys/types.h> /* for off_t */ |
369 | #endif | 369 | #endif |
370 | 370 | ||
371 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE | 371 | #if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) |
372 | # include <unistd.h> /* for SEEK_* and off_t */ | 372 | # include <unistd.h> /* for SEEK_* and off_t */ |
373 | # ifdef VMS | 373 | # ifdef VMS |
374 | # include <unixio.h> /* for off_t */ | 374 | # include <unixio.h> /* for off_t */ |
@@ -388,6 +388,12 @@ typedef uLong FAR uLongf; | |||
388 | # define z_off_t long | 388 | # define z_off_t long |
389 | #endif | 389 | #endif |
390 | 390 | ||
391 | #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 | ||
392 | # define z_off64_t off64_t | ||
393 | #else | ||
394 | # define z_off64_t z_off_t | ||
395 | #endif | ||
396 | |||
391 | #if defined(__OS400__) | 397 | #if defined(__OS400__) |
392 | # define NO_vsnprintf | 398 | # define NO_vsnprintf |
393 | #endif | 399 | #endif |