6 #ifdef _LARGEFILE64_SOURCE
7 # ifndef _LARGEFILE_SOURCE
8 # define _LARGEFILE_SOURCE 1
10 # undef _FILE_OFFSET_BITS
15 # define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
17 # define ZLIB_INTERNAL
29 # define _POSIX_SOURCE
37 #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
53 # define NO_GZCOMPRESS
56 #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
57 # ifndef HAVE_VSNPRINTF
58 # define HAVE_VSNPRINTF
62 #if defined(__CYGWIN__)
63 # ifndef HAVE_VSNPRINTF
64 # define HAVE_VSNPRINTF
68 #if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410)
69 # ifndef HAVE_VSNPRINTF
70 # define HAVE_VSNPRINTF
74 #ifndef HAVE_VSNPRINTF
85 # if !defined(vsnprintf) && !defined(NO_vsnprintf)
86 # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
87 # define vsnprintf _vsnprintf
101 # define NO_vsnprintf
108 #if defined(_MSC_VER) && _MSC_VER < 1900
109 # define snprintf _snprintf
113 # define local static
127 # include <windows.h>
128 # define zstrerror() gz_strwinerror((DWORD)GetLastError())
132 # define zstrerror() strerror(errno)
134 # define zstrerror() "stdio error (consult errno)"
139 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
147 #if MAX_MEM_LEVEL >= 8
148 # define DEF_MEM_LEVEL 8
150 # define DEF_MEM_LEVEL MAX_MEM_LEVEL
155 #define GZBUFSIZE 8192
160 #define GZ_WRITE 31153
214 #define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
unsigned ZLIB_INTERNAL gz_intmax(void)
void ZLIB_INTERNAL gz_error(gz_statep, int, const char *)
ZEXTERN z_off64_t ZEXPORT gztell64(gzFile)
ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int)
ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile)
ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *)