diff options
| -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 |
