diff options
Diffstat (limited to 'zlib.h')
| -rw-r--r-- | zlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1668,7 +1668,7 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */ | |||
| 1668 | * functions are changed to 64 bits) -- in case these are set on systems | 1668 | * functions are changed to 64 bits) -- in case these are set on systems |
| 1669 | * without large file support, _LFS64_LARGEFILE must also be true | 1669 | * without large file support, _LFS64_LARGEFILE must also be true |
| 1670 | */ | 1670 | */ |
| 1671 | #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 | 1671 | #ifdef Z_LARGE64 |
| 1672 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1672 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
| 1673 | ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); | 1673 | ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); |
| 1674 | ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); | 1674 | ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); |
| @@ -1677,7 +1677,7 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */ | |||
| 1677 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); | 1677 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); |
| 1678 | #endif | 1678 | #endif |
| 1679 | 1679 | ||
| 1680 | #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 | 1680 | #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64) |
| 1681 | # ifdef Z_PREFIX_SET | 1681 | # ifdef Z_PREFIX_SET |
| 1682 | # define z_gzopen z_gzopen64 | 1682 | # define z_gzopen z_gzopen64 |
| 1683 | # define z_gzseek z_gzseek64 | 1683 | # define z_gzseek z_gzseek64 |
| @@ -1693,7 +1693,7 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */ | |||
| 1693 | # define adler32_combine adler32_combine64 | 1693 | # define adler32_combine adler32_combine64 |
| 1694 | # define crc32_combine crc32_combine64 | 1694 | # define crc32_combine crc32_combine64 |
| 1695 | # endif | 1695 | # endif |
| 1696 | # ifndef _LARGEFILE64_SOURCE | 1696 | # ifndef Z_LARGE64 |
| 1697 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1697 | ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
| 1698 | ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); | 1698 | ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); |
| 1699 | ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); | 1699 | ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); |
