summaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r--zconf.h.cmakein4
1 files changed, 2 insertions, 2 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 3c44906..8f1956c 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -441,7 +441,7 @@ typedef uLong FAR uLongf;
441 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as 441 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
442 * equivalently requesting no 64-bit operations 442 * equivalently requesting no 64-bit operations
443 */ 443 */
444#if defined(LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1 444#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
445# undef _LARGEFILE64_SOURCE 445# undef _LARGEFILE64_SOURCE
446#endif 446#endif
447 447
@@ -449,7 +449,7 @@ typedef uLong FAR uLongf;
449# define Z_HAVE_UNISTD_H 449# define Z_HAVE_UNISTD_H
450#endif 450#endif
451#ifndef Z_SOLO 451#ifndef Z_SOLO
452# if defined(Z_HAVE_UNISTD_H) || defined(LARGEFILE64_SOURCE) 452# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
453# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */ 453# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
454# ifdef VMS 454# ifdef VMS
455# include <unixio.h> /* for off_t */ 455# include <unixio.h> /* for off_t */