diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:38 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:34:38 -0700 |
commit | f4498bea2865325dce71189af47a047529229f22 (patch) | |
tree | 06278f21d1bcf0f0860ff792af1cb376b1331231 /gzguts.h | |
parent | 7147f24cd7b27dd95f6e841851a111cb311a9c07 (diff) | |
download | zlib-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.h | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -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 */ |