diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:22 -0700 |
| commit | 05d47d2627a68a15ba23fb10b17fbc73551aeec1 (patch) | |
| tree | 8d5e1688e69c51c487e8b44a9e9d8ca71f67cfd0 /zconf.h.cmakein | |
| parent | a1141160bcf563f1a269be68a21f1651f687bb69 (diff) | |
| download | zlib-1.2.4.1.tar.gz zlib-1.2.4.1.tar.bz2 zlib-1.2.4.1.zip | |
zlib 1.2.4.1v1.2.4.1
Diffstat (limited to 'zconf.h.cmakein')
| -rw-r--r-- | zconf.h.cmakein | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index eec8ab0..fcd5710 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
| @@ -366,7 +366,7 @@ typedef uLong FAR uLongf; | |||
| 366 | # define Z_HAVE_UNISTD_H | 366 | # define Z_HAVE_UNISTD_H |
| 367 | #endif | 367 | #endif |
| 368 | 368 | ||
| 369 | #ifdef Z_HAVE_UNISTD_H | 369 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 |
| 370 | # include <sys/types.h> /* for off_t */ | 370 | # include <sys/types.h> /* for off_t */ |
| 371 | # include <unistd.h> /* for SEEK_* and off_t */ | 371 | # include <unistd.h> /* for SEEK_* and off_t */ |
| 372 | # ifdef VMS | 372 | # ifdef VMS |
| @@ -377,15 +377,12 @@ typedef uLong FAR uLongf; | |||
| 377 | # endif | 377 | # endif |
| 378 | #endif | 378 | #endif |
| 379 | 379 | ||
| 380 | #ifdef _LARGEFILE64_SOURCE | ||
| 381 | # include <sys/types.h> | ||
| 382 | #endif | ||
| 383 | |||
| 384 | #ifndef SEEK_SET | 380 | #ifndef SEEK_SET |
| 385 | # define SEEK_SET 0 /* Seek from beginning of file. */ | 381 | # define SEEK_SET 0 /* Seek from beginning of file. */ |
| 386 | # define SEEK_CUR 1 /* Seek from current position. */ | 382 | # define SEEK_CUR 1 /* Seek from current position. */ |
| 387 | # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ | 383 | # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ |
| 388 | #endif | 384 | #endif |
| 385 | |||
| 389 | #ifndef z_off_t | 386 | #ifndef z_off_t |
| 390 | # define z_off_t long | 387 | # define z_off_t long |
| 391 | #endif | 388 | #endif |
