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
41 #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
57 # define NO_GZCOMPRESS
60 #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
61 # ifndef HAVE_VSNPRINTF
62 # define HAVE_VSNPRINTF
66 #if defined(__CYGWIN__)
67 # ifndef HAVE_VSNPRINTF
68 # define HAVE_VSNPRINTF
72 #if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410)
73 # ifndef HAVE_VSNPRINTF
74 # define HAVE_VSNPRINTF
78 #ifndef HAVE_VSNPRINTF
89 # if !defined(vsnprintf) && !defined(NO_vsnprintf)
90 # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
91 # define vsnprintf _vsnprintf
102 # define NO_vsnprintf
105 # define NO_vsnprintf
112 #if defined(_MSC_VER) && _MSC_VER < 1900
113 # define snprintf _snprintf
117 # define local static
131 # include <windows.h>
132 # define zstrerror() gz_strwinerror((DWORD)GetLastError())
136 # define zstrerror() strerror(errno)
138 # define zstrerror() "stdio error (consult errno)"
143 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
151 #if MAX_MEM_LEVEL >= 8
152 # define DEF_MEM_LEVEL 8
154 # define DEF_MEM_LEVEL MAX_MEM_LEVEL
159 #define GZBUFSIZE 8192
164 #define GZ_WRITE 31153
218 #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 *)