6 #ifdef _LARGEFILE64_SOURCE 7 # ifndef _LARGEFILE_SOURCE 8 # define _LARGEFILE_SOURCE 1 10 # ifdef _FILE_OFFSET_BITS 11 # undef _FILE_OFFSET_BITS 15 #if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ) 16 # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 18 # define ZLIB_INTERNAL 31 # define NO_GZCOMPRESS 36 # define vsnprintf _vsnprintf 53 # define zstrerror() gz_strwinerror((DWORD)GetLastError()) 57 # define zstrerror() strerror(errno) 59 # define zstrerror() "stdio error (consult errno)" 64 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0 72 #define GZBUFSIZE 8192 77 #define GZ_WRITE 31153 128 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) 131 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
z_off64_t ZEXPORT gzoffset64(gzFile file)
z_off64_t ZEXPORT gztell64(gzFile file)
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
voidp malloc OF((uInt size))
gzFile ZEXPORT gzopen64(char *path, const char *mode) const
unsigned ZLIB_INTERNAL gz_intmax()
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence)