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())
Byte FAR * voidpf
Definition: zconf.h:390
int err
Definition: gzguts.h:188
char * path
Definition: gzguts.h:170
#define z_off64_t
Definition: zconf.h:490
int mode
Definition: gzguts.h:168
z_stream strm
Definition: gzguts.h:191
int fd
Definition: gzguts.h:169
int eof
Definition: gzguts.h:179
z_off64_t skip
Definition: gzguts.h:185
unsigned char * in
Definition: gzguts.h:173
voidp malloc OF((uInt size))
unsigned size
Definition: gzguts.h:171
char * msg
Definition: gzguts.h:189
unsigned want
Definition: gzguts.h:172
Byte * voidp
Definition: zconf.h:391
unsigned int DWORD
Definition: CascPort.h:139
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
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
#define FAR
Definition: zconf.h:364
G3D::int16 x
Definition: Vector2int16.h:37
int direct
Definition: gzguts.h:175
unsigned char * out
Definition: gzguts.h:174
int how
Definition: gzguts.h:177
#define ZEXPORT
Definition: zconf.h:357
unsigned int uInt
Definition: zconf.h:370