aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2013-02-24 00:16:24 -0800
committerMark Adler <madler@alumni.caltech.edu>2013-02-24 00:16:24 -0800
commita2d71e8e66530c325bfce936f3805ccff5831b62 (patch)
tree554d836f65cb7eb50c7ec48fe98ae5cdfbd53112
parentbc7e017112bb8e37a3103879148be718a48f5023 (diff)
downloadzlib-a2d71e8e66530c325bfce936f3805ccff5831b62.tar.gz
zlib-a2d71e8e66530c325bfce936f3805ccff5831b62.tar.bz2
zlib-a2d71e8e66530c325bfce936f3805ccff5831b62.zip
Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h.
-rw-r--r--zconf.h4
-rw-r--r--zconf.h.cmakein4
-rw-r--r--zconf.h.in4
3 files changed, 6 insertions, 6 deletions
diff --git a/zconf.h b/zconf.h
index 97b3a70..76aba96 100644
--- a/zconf.h
+++ b/zconf.h
@@ -439,7 +439,7 @@ typedef uLong FAR uLongf;
439 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as 439 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
440 * equivalently requesting no 64-bit operations 440 * equivalently requesting no 64-bit operations
441 */ 441 */
442#if defined(LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1 442#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
443# undef _LARGEFILE64_SOURCE 443# undef _LARGEFILE64_SOURCE
444#endif 444#endif
445 445
@@ -447,7 +447,7 @@ typedef uLong FAR uLongf;
447# define Z_HAVE_UNISTD_H 447# define Z_HAVE_UNISTD_H
448#endif 448#endif
449#ifndef Z_SOLO 449#ifndef Z_SOLO
450# if defined(Z_HAVE_UNISTD_H) || defined(LARGEFILE64_SOURCE) 450# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
451# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */ 451# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
452# ifdef VMS 452# ifdef VMS
453# include <unixio.h> /* for off_t */ 453# include <unixio.h> /* for off_t */
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 */
diff --git a/zconf.h.in b/zconf.h.in
index 97b3a70..76aba96 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -439,7 +439,7 @@ typedef uLong FAR uLongf;
439 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as 439 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
440 * equivalently requesting no 64-bit operations 440 * equivalently requesting no 64-bit operations
441 */ 441 */
442#if defined(LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1 442#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
443# undef _LARGEFILE64_SOURCE 443# undef _LARGEFILE64_SOURCE
444#endif 444#endif
445 445
@@ -447,7 +447,7 @@ typedef uLong FAR uLongf;
447# define Z_HAVE_UNISTD_H 447# define Z_HAVE_UNISTD_H
448#endif 448#endif
449#ifndef Z_SOLO 449#ifndef Z_SOLO
450# if defined(Z_HAVE_UNISTD_H) || defined(LARGEFILE64_SOURCE) 450# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
451# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */ 451# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
452# ifdef VMS 452# ifdef VMS
453# include <unixio.h> /* for off_t */ 453# include <unixio.h> /* for off_t */