diff options
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r-- | zconf.h.cmakein | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 8e4b5bd..247ba24 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -475,11 +475,18 @@ typedef uLong FAR uLongf; | |||
475 | # undef _LARGEFILE64_SOURCE | 475 | # undef _LARGEFILE64_SOURCE |
476 | #endif | 476 | #endif |
477 | 477 | ||
478 | #if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H) | 478 | #ifndef Z_HAVE_UNISTD_H |
479 | # define Z_HAVE_UNISTD_H | 479 | # ifdef __WATCOMC__ |
480 | # define Z_HAVE_UNISTD_H | ||
481 | # endif | ||
482 | #endif | ||
483 | #ifndef Z_HAVE_UNISTD_H | ||
484 | # if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32) | ||
485 | # define Z_HAVE_UNISTD_H | ||
486 | # endif | ||
480 | #endif | 487 | #endif |
481 | #ifndef Z_SOLO | 488 | #ifndef Z_SOLO |
482 | # if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE) | 489 | # if defined(Z_HAVE_UNISTD_H) |
483 | # include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */ | 490 | # include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */ |
484 | # ifdef VMS | 491 | # ifdef VMS |
485 | # include <unixio.h> /* for off_t */ | 492 | # include <unixio.h> /* for off_t */ |