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 /zconf.h.in | |
parent | 0e958393245ecd1e5639fbe4376c1bf1467ad616 (diff) | |
download | zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.tar.gz zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.tar.bz2 zlib-c983609168d899e7ad29cd1878abac8c9282c6ac.zip |
Include unistd.h on DJGPP.
Diffstat (limited to 'zconf.h.in')
-rw-r--r-- | zconf.h.in | 8 |
1 files changed, 2 insertions, 6 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 |