aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:34:30 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:34:30 -0700
commit7147f24cd7b27dd95f6e841851a111cb311a9c07 (patch)
tree1492bbbb8828513c8ad129adff414b2ba724aa03 /zutil.h
parent05d47d2627a68a15ba23fb10b17fbc73551aeec1 (diff)
downloadzlib-7147f24cd7b27dd95f6e841851a111cb311a9c07.tar.gz
zlib-7147f24cd7b27dd95f6e841851a111cb311a9c07.tar.bz2
zlib-7147f24cd7b27dd95f6e841851a111cb311a9c07.zip
zlib 1.2.4.2v1.2.4.2
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/zutil.h b/zutil.h
index b21a19c..850f1ec 100644
--- a/zutil.h
+++ b/zutil.h
@@ -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 */