aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
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 */
154 #pragma warn -8066 154 #pragma warn -8066
155#endif 155#endif
156 156
157#if _LARGEFILE64_SOURCE && _LFS64_LARGEFILE
158# define z_off64_t off64_t
159#else
160# define z_off64_t z_off_t
161#endif
162
163/* provide prototypes for these when building zlib without LFS */ 157/* provide prototypes for these when building zlib without LFS */
164#if _LARGEFILE64_SOURCE+0 != 1 || _LFS64_LARGEFILE+0 != 1 158#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
165 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); 159 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
166 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); 160 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
167#endif 161#endif