aboutsummaryrefslogtreecommitdiff
path: root/gzguts.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 /gzguts.h
parent7147f24cd7b27dd95f6e841851a111cb311a9c07 (diff)
downloadzlib-f4498bea2865325dce71189af47a047529229f22.tar.gz
zlib-f4498bea2865325dce71189af47a047529229f22.tar.bz2
zlib-f4498bea2865325dce71189af47a047529229f22.zip
zlib 1.2.4.3v1.2.4.3
Diffstat (limited to 'gzguts.h')
-rw-r--r--gzguts.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/gzguts.h b/gzguts.h
index a0e7119..b0a4cbd 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -3,7 +3,7 @@
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6#if _LARGEFILE64_SOURCE 6#ifdef _LARGEFILE64_SOURCE
7# ifndef _LARGEFILE_SOURCE 7# ifndef _LARGEFILE_SOURCE
8# define _LARGEFILE_SOURCE 1 8# define _LARGEFILE_SOURCE 1
9# endif 9# endif
@@ -56,18 +56,12 @@
56# endif 56# endif
57#endif 57#endif
58 58
59#if _LARGEFILE64_SOURCE
60# define z_off64_t off64_t
61#else
62# define z_off64_t z_off_t
63#endif
64
65/* provide prototypes for these when building zlib without LFS */ 59/* provide prototypes for these when building zlib without LFS */
66#if _LARGEFILE64_SOURCE+0 != 1 || _LFS64_LARGEFILE+0 != 1 60#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
67 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); 61 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
68 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, off_t, int)); 62 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
69 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); 63 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
70 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); 64 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
71#endif 65#endif
72 66
73/* default i/o buffer size -- double this for output when reading */ 67/* default i/o buffer size -- double this for output when reading */