diff options
Diffstat (limited to 'zutil.h')
-rw-r--r-- | zutil.h | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -154,20 +154,16 @@ 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 == 1 && _LFS64_LARGEFILE == 1 | 157 | #if _LARGEFILE64_SOURCE && _LFS64_LARGEFILE |
158 | # define z_off64_t off64_t | 158 | # define z_off64_t off64_t |
159 | #else | 159 | #else |
160 | # define z_off64_t z_off_t | 160 | # define z_off64_t z_off_t |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | /* provide prototypes for these when building zlib without LFS */ | 163 | /* provide prototypes for these when building zlib without LFS */ |
164 | #if _LARGEFILE64_SOURCE != 1 || _LFS64_LARGEFILE != 1 | 164 | #if _LARGEFILE64_SOURCE+0 != 1 || _LFS64_LARGEFILE+0 != 1 |
165 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 165 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); |
166 | ZEXTERN off_t ZEXPORT gzseek64 OF((gzFile, off_t, int)); | 166 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); |
167 | ZEXTERN off_t ZEXPORT gztell64 OF((gzFile)); | ||
168 | ZEXTERN off_t ZEXPORT gzoffset64 OF((gzFile)); | ||
169 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, off_t)); | ||
170 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, off_t)); | ||
171 | #endif | 167 | #endif |
172 | 168 | ||
173 | /* common defaults */ | 169 | /* common defaults */ |