diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-02-11 15:37:46 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-02-11 15:37:46 -0800 |
| commit | 04134633fa6f8a9ac87ffd4b2683ca61bd41acd6 (patch) | |
| tree | dfc9bba22470a0431c84d091a44962a3acc7c1dc | |
| parent | c983609168d899e7ad29cd1878abac8c9282c6ac (diff) | |
| download | zlib-04134633fa6f8a9ac87ffd4b2683ca61bd41acd6.tar.gz zlib-04134633fa6f8a9ac87ffd4b2683ca61bd41acd6.tar.bz2 zlib-04134633fa6f8a9ac87ffd4b2683ca61bd41acd6.zip | |
Use 64-bit offsets in DJGPP.
| -rw-r--r-- | zconf.h | 10 | ||||
| -rw-r--r-- | zconf.h.cmakein | 10 | ||||
| -rw-r--r-- | zconf.h.in | 10 |
3 files changed, 15 insertions, 15 deletions
| @@ -511,12 +511,12 @@ typedef uLong FAR uLongf; | |||
| 511 | 511 | ||
| 512 | #if !defined(_WIN32) && defined(Z_LARGE64) | 512 | #if !defined(_WIN32) && defined(Z_LARGE64) |
| 513 | # define z_off64_t off64_t | 513 | # define z_off64_t off64_t |
| 514 | #elif defined(_WIN32) && !defined(__GNUC__) | ||
| 515 | # define z_off64_t __int64 | ||
| 516 | #elif defined(__GO32__) | ||
| 517 | # define z_off64_t offset_t | ||
| 514 | #else | 518 | #else |
| 515 | # if defined(_WIN32) && !defined(__GNUC__) | 519 | # define z_off64_t z_off_t |
| 516 | # define z_off64_t __int64 | ||
| 517 | # else | ||
| 518 | # define z_off64_t z_off_t | ||
| 519 | # endif | ||
| 520 | #endif | 520 | #endif |
| 521 | 521 | ||
| 522 | /* MVS linker does not support external names larger than 8 bytes */ | 522 | /* MVS linker does not support external names larger than 8 bytes */ |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index a5cb288..96e9296 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
| @@ -513,12 +513,12 @@ typedef uLong FAR uLongf; | |||
| 513 | 513 | ||
| 514 | #if !defined(_WIN32) && defined(Z_LARGE64) | 514 | #if !defined(_WIN32) && defined(Z_LARGE64) |
| 515 | # define z_off64_t off64_t | 515 | # define z_off64_t off64_t |
| 516 | #elif defined(_WIN32) && !defined(__GNUC__) | ||
| 517 | # define z_off64_t __int64 | ||
| 518 | #elif defined(__GO32__) | ||
| 519 | # define z_off64_t offset_t | ||
| 516 | #else | 520 | #else |
| 517 | # if defined(_WIN32) && !defined(__GNUC__) | 521 | # define z_off64_t z_off_t |
| 518 | # define z_off64_t __int64 | ||
| 519 | # else | ||
| 520 | # define z_off64_t z_off_t | ||
| 521 | # endif | ||
| 522 | #endif | 522 | #endif |
| 523 | 523 | ||
| 524 | /* MVS linker does not support external names larger than 8 bytes */ | 524 | /* MVS linker does not support external names larger than 8 bytes */ |
| @@ -511,12 +511,12 @@ typedef uLong FAR uLongf; | |||
| 511 | 511 | ||
| 512 | #if !defined(_WIN32) && defined(Z_LARGE64) | 512 | #if !defined(_WIN32) && defined(Z_LARGE64) |
| 513 | # define z_off64_t off64_t | 513 | # define z_off64_t off64_t |
| 514 | #elif defined(_WIN32) && !defined(__GNUC__) | ||
| 515 | # define z_off64_t __int64 | ||
| 516 | #elif defined(__GO32__) | ||
| 517 | # define z_off64_t offset_t | ||
| 514 | #else | 518 | #else |
| 515 | # if defined(_WIN32) && !defined(__GNUC__) | 519 | # define z_off64_t z_off_t |
| 516 | # define z_off64_t __int64 | ||
| 517 | # else | ||
| 518 | # define z_off64_t z_off_t | ||
| 519 | # endif | ||
| 520 | #endif | 520 | #endif |
| 521 | 521 | ||
| 522 | /* MVS linker does not support external names larger than 8 bytes */ | 522 | /* MVS linker does not support external names larger than 8 bytes */ |
