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) 46 # define NO_GZCOMPRESS 49 #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) 50 # ifndef HAVE_VSNPRINTF 51 # define HAVE_VSNPRINTF 55 #if defined(__CYGWIN__) 56 # ifndef HAVE_VSNPRINTF 57 # define HAVE_VSNPRINTF 61 #if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410) 62 # ifndef HAVE_VSNPRINTF 63 # define HAVE_VSNPRINTF 67 #ifndef HAVE_VSNPRINTF 78 # if !defined(vsnprintf) && !defined(NO_vsnprintf) 79 # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 ) 80 # define vsnprintf _vsnprintf 103 # define snprintf _snprintf 107 # define local static 119 # include <windows.h> 120 # define zstrerror() gz_strwinerror((DWORD)GetLastError()) 124 # define zstrerror() strerror(errno) 126 # define zstrerror() "stdio error (consult errno)" 131 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0 139 #if MAX_MEM_LEVEL >= 8 140 # define DEF_MEM_LEVEL 8 142 # define DEF_MEM_LEVEL MAX_MEM_LEVEL 147 #define GZBUFSIZE 8192 152 #define GZ_WRITE 31153 205 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) 208 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
int err
Definition: gzguts.h:188
z_off64_t ZEXPORT gzoffset64(gzFile file)
Definition: gzlib.c:478
char * path
Definition: gzguts.h:170
#define z_off64_t
Definition: zconf.h:490
int mode
Definition: gzguts.h:168
Byte * voidpf
Definition: zconf.h:390
z_stream strm
Definition: gzguts.h:191
int fd
Definition: gzguts.h:169
int eof
Definition: gzguts.h:179
z_off64_t ZEXPORT gztell64(gzFile file)
Definition: gzlib.c:451
z_off64_t skip
Definition: gzguts.h:185
void gz_error(gz_statep state, int err, const char *msg)
Definition: gzlib.c:575
unsigned char * in
Definition: gzguts.h:173
voidp malloc OF((uInt size))
unsigned size
Definition: gzguts.h:171
char * msg
Definition: gzguts.h:189
#define FAR
Definition: jmorecfg.h:215
unsigned want
Definition: gzguts.h:172
Byte * voidp
Definition: zconf.h:391
int seek
Definition: gzguts.h:186
z_off64_t start
Definition: gzguts.h:178
#define ZEXTERN
Definition: zconf.h:354
int strategy
Definition: gzguts.h:183
gzFile ZEXPORT gzopen64(char *path, const char *mode) const
Definition: gzlib.c:276
int past
Definition: gzguts.h:180
int level
Definition: gzguts.h:182
#define ZLIB_INTERNAL
Definition: gzguts.h:18
gz_state FAR * gz_statep
Definition: gzguts.h:193
int direct
Definition: gzguts.h:175
unsigned char * out
Definition: gzguts.h:174
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence)
Definition: gzlib.c:362
int how
Definition: gzguts.h:177
#define ZEXPORT
Definition: zconf.h:357
unsigned gz_intmax()
Definition: gzlib.c:622
unsigned int uInt
Definition: zconf.h:370