diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-02-10 19:59:11 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-02-10 20:06:15 -0800 |
| commit | c983609168d899e7ad29cd1878abac8c9282c6ac (patch) | |
| tree | 66d7e06991f2c7044ec9cf8f31c66390e5fba754 | |
| parent | 0e958393245ecd1e5639fbe4376c1bf1467ad616 (diff) | |
| download | zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.tar.gz zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.tar.bz2 zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.zip | |
Include unistd.h on DJGPP.
| -rw-r--r-- | zconf.h | 8 | ||||
| -rw-r--r-- | zconf.h.cmakein | 8 | ||||
| -rw-r--r-- | zconf.h.in | 8 |
3 files changed, 6 insertions, 18 deletions
| @@ -470,12 +470,8 @@ typedef uLong FAR uLongf; | |||
| 470 | #endif | 470 | #endif |
| 471 | 471 | ||
| 472 | #ifndef Z_HAVE_UNISTD_H | 472 | #ifndef Z_HAVE_UNISTD_H |
| 473 | # ifdef __WATCOMC__ | 473 | # if defined(__WATCOMC__) || defined(__GO32__) || \ |
| 474 | # define Z_HAVE_UNISTD_H | 474 | (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)) |
| 475 | # endif | ||
| 476 | #endif | ||
| 477 | #ifndef Z_HAVE_UNISTD_H | ||
| 478 | # if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32) | ||
| 479 | # define Z_HAVE_UNISTD_H | 475 | # define Z_HAVE_UNISTD_H |
| 480 | # endif | 476 | # endif |
| 481 | #endif | 477 | #endif |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 0abe3bc..a5cb288 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
| @@ -472,12 +472,8 @@ typedef uLong FAR uLongf; | |||
| 472 | #endif | 472 | #endif |
| 473 | 473 | ||
| 474 | #ifndef Z_HAVE_UNISTD_H | 474 | #ifndef Z_HAVE_UNISTD_H |
| 475 | # ifdef __WATCOMC__ | 475 | # if defined(__WATCOMC__) || defined(__GO32__) || \ |
| 476 | # define Z_HAVE_UNISTD_H | 476 | (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)) |
| 477 | # endif | ||
| 478 | #endif | ||
| 479 | #ifndef Z_HAVE_UNISTD_H | ||
| 480 | # if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32) | ||
| 481 | # define Z_HAVE_UNISTD_H | 477 | # define Z_HAVE_UNISTD_H |
| 482 | # endif | 478 | # endif |
| 483 | #endif | 479 | #endif |
| @@ -470,12 +470,8 @@ typedef uLong FAR uLongf; | |||
| 470 | #endif | 470 | #endif |
| 471 | 471 | ||
| 472 | #ifndef Z_HAVE_UNISTD_H | 472 | #ifndef Z_HAVE_UNISTD_H |
| 473 | # ifdef __WATCOMC__ | 473 | # if defined(__WATCOMC__) || defined(__GO32__) || \ |
| 474 | # define Z_HAVE_UNISTD_H | 474 | (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)) |
| 475 | # endif | ||
| 476 | #endif | ||
| 477 | #ifndef Z_HAVE_UNISTD_H | ||
| 478 | # if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32) | ||
| 479 | # define Z_HAVE_UNISTD_H | 475 | # define Z_HAVE_UNISTD_H |
| 480 | # endif | 476 | # endif |
| 481 | #endif | 477 | #endif |
