diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-02-18 15:21:13 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-02-18 15:37:37 -0800 |
commit | 10fca844b1454ee19e28400a8267f72b0cccb591 (patch) | |
tree | 7108291ac770be2d0f544ddbf024deed5306fce0 | |
parent | a75d6ea070cedd3afa9865e63127c7ee8946d605 (diff) | |
download | zlib-10fca844b1454ee19e28400a8267f72b0cccb591.tar.gz zlib-10fca844b1454ee19e28400a8267f72b0cccb591.tar.bz2 zlib-10fca844b1454ee19e28400a8267f72b0cccb591.zip |
Include unistd.h for Watcom C.
-rw-r--r-- | zconf.h | 3 | ||||
-rw-r--r-- | zconf.h.cmakein | 3 | ||||
-rw-r--r-- | zconf.h.in | 3 |
3 files changed, 9 insertions, 0 deletions
@@ -413,6 +413,9 @@ typedef uLong FAR uLongf; | |||
413 | # define Z_LARGE | 413 | # define Z_LARGE |
414 | #endif | 414 | #endif |
415 | 415 | ||
416 | #if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H) | ||
417 | # define Z_HAVE_UNISTD_H | ||
418 | #endif | ||
416 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) | 419 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) |
417 | # include <unistd.h> /* for SEEK_* and off_t */ | 420 | # include <unistd.h> /* for SEEK_* and off_t */ |
418 | # ifdef VMS | 421 | # ifdef VMS |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 9510eab..6f964b8 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -415,6 +415,9 @@ typedef uLong FAR uLongf; | |||
415 | # define Z_LARGE | 415 | # define Z_LARGE |
416 | #endif | 416 | #endif |
417 | 417 | ||
418 | #if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H) | ||
419 | # define Z_HAVE_UNISTD_H | ||
420 | #endif | ||
418 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) | 421 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) |
419 | # include <unistd.h> /* for SEEK_* and off_t */ | 422 | # include <unistd.h> /* for SEEK_* and off_t */ |
420 | # ifdef VMS | 423 | # ifdef VMS |
@@ -413,6 +413,9 @@ typedef uLong FAR uLongf; | |||
413 | # define Z_LARGE | 413 | # define Z_LARGE |
414 | #endif | 414 | #endif |
415 | 415 | ||
416 | #if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H) | ||
417 | # define Z_HAVE_UNISTD_H | ||
418 | #endif | ||
416 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) | 419 | #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) |
417 | # include <unistd.h> /* for SEEK_* and off_t */ | 420 | # include <unistd.h> /* for SEEK_* and off_t */ |
418 | # ifdef VMS | 421 | # ifdef VMS |