9 #ifdef _LARGEFILE64_SOURCE 10 # ifndef _LARGEFILE_SOURCE 11 # define _LARGEFILE_SOURCE 1 13 # ifdef _FILE_OFFSET_BITS 14 # undef _FILE_OFFSET_BITS 19 # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 21 # define ZLIB_INTERNAL 39 #if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32) 51 # define NO_GZCOMPRESS 54 #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) 55 # ifndef HAVE_VSNPRINTF 56 # define HAVE_VSNPRINTF 60 #if defined(__CYGWIN__) 61 # ifndef HAVE_VSNPRINTF 62 # define HAVE_VSNPRINTF 66 #if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410) 67 # ifndef HAVE_VSNPRINTF 68 # define HAVE_VSNPRINTF 72 #ifndef HAVE_VSNPRINTF 83 # if !defined(vsnprintf) && !defined(NO_vsnprintf) 84 # if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 ) 85 # define vsnprintf _vsnprintf 108 # define snprintf _snprintf 112 # define local static 124 # include <windows.h> 125 # define zstrerror() gz_strwinerror((DWORD)GetLastError()) 129 # define zstrerror() strerror(errno) 131 # define zstrerror() "stdio error (consult errno)" 136 #if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0 138 #define z_off64_t z_off_t 141 gzFile
gzopen64 OF((
const char *,
const char *));
148 #if MAX_MEM_LEVEL >= 8 149 # define DEF_MEM_LEVEL 8 151 # define DEF_MEM_LEVEL MAX_MEM_LEVEL 156 #define GZBUFSIZE 8192 161 #define GZ_WRITE 31153 216 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) 219 # define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) #define ZLIB_INTERNAL
Definition: gzguts.h:21
int how
Definition: gzguts.h:188
char * path
Definition: gzguts.h:181
const GLvoid * ptr
Definition: nx_glsym.h:242
char * msg
Definition: gzguts.h:200
z_stream strm
Definition: gzguts.h:202
z_off64_t start
Definition: gzguts.h:189
z_off64_t gzoffset64(gzFile file)
Definition: gzlib.c:448
unsigned char * in
Definition: gzguts.h:184
int strategy
Definition: gzguts.h:194
int seek
Definition: gzguts.h:197
Byte * voidp
Definition: zconf.h:354
int err
Definition: gzguts.h:199
int past
Definition: gzguts.h:191
z_off64_t gzseek64(gzFile file, z_off64_t offset, int whence)
Definition: gzlib.c:344
GLsizeiptr size
Definition: glext.h:6559
gzFile gzopen64(const char *path, const char *mode)
Definition: gzlib.c:272
Byte FAR * voidpf
Definition: zconf.h:353
unsigned want
Definition: gzguts.h:183
gz_state FAR * gz_statep
Definition: gzguts.h:204
voidp malloc OF((uInt size))
z_off64_t skip
Definition: gzguts.h:196
int mode
Definition: gzguts.h:179
static l_noret error(LoadState *S, const char *why)
Definition: lundump.c:39
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
int direct
Definition: gzguts.h:186
unsigned char * out
Definition: gzguts.h:185
int fd
Definition: gzguts.h:180
int level
Definition: gzguts.h:193
z_off64_t gztell64(gzFile file)
Definition: gzlib.c:425
#define FAR
Definition: zconf.h:327
unsigned size
Definition: gzguts.h:182
int eof
Definition: gzguts.h:190
unsigned int uInt
Definition: zconf.h:333
unsigned ZLIB_INTERNAL gz_intmax()
Definition: gzlib.c:577
#define z_off64_t
Definition: gzguts.h:138
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
Definition: gzlib.c:533