Go to the documentation of this file.
6 #ifdef _LARGEFILE64_SOURCE
7 # ifndef _LARGEFILE_SOURCE
8 # define _LARGEFILE_SOURCE 1
10 # ifdef _FILE_OFFSET_BITS
11 # undef _FILE_OFFSET_BITS
16 # define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
18 # define ZLIB_INTERNAL
34 #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
39 # define NO_GZCOMPRESS
42 #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
43 # ifndef HAVE_VSNPRINTF
44 # define HAVE_VSNPRINTF
48 #if defined(__CYGWIN__)
49 # ifndef HAVE_VSNPRINTF
50 # define HAVE_VSNPRINTF
54 #if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410)
55 # ifndef HAVE_VSNPRINTF
56 # define HAVE_VSNPRINTF
60 #ifndef HAVE_VSNPRINTF
71 # if !defined(vsnprintf) && !defined(NO_vsnprintf)
72 # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
73 # define vsnprintf _vsnprintf
104 # include <windows.h>
105 # define zstrerror() gz_strwinerror((DWORD)GetLastError())
109 # define zstrerror() strerror(errno)
111 # define zstrerror() "stdio error (consult errno)"
116 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
124 #if MAX_MEM_LEVEL >= 8
125 # define DEF_MEM_LEVEL 8
127 # define DEF_MEM_LEVEL MAX_MEM_LEVEL
131 #define GZBUFSIZE 8192
136 #define GZ_WRITE 31153
189 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
192 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())