summaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:34:38 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:34:38 -0700
commitf4498bea2865325dce71189af47a047529229f22 (patch)
tree06278f21d1bcf0f0860ff792af1cb376b1331231 /zutil.h
parent7147f24cd7b27dd95f6e841851a111cb311a9c07 (diff)
downloadzlib-f4498bea2865325dce71189af47a047529229f22.tar.gz
zlib 1.2.4.3v1.2.4.3
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/zutil.h b/zutil.h
index 850f1ec..a250088 100644
--- a/zutil.h
+++ b/zutil.h
@@ -154,14 +154,8 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#pragma warn -8066
#endif
-#if _LARGEFILE64_SOURCE && _LFS64_LARGEFILE
-# define z_off64_t off64_t
-#else
-# define z_off64_t z_off_t
-#endif
-
/* provide prototypes for these when building zlib without LFS */
-#if _LARGEFILE64_SOURCE+0 != 1 || _LFS64_LARGEFILE+0 != 1
+#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
#endif