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")))
38#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
57#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
58# ifndef HAVE_VSNPRINTF
59# define HAVE_VSNPRINTF
63#if defined(__CYGWIN__)
64# ifndef HAVE_VSNPRINTF
65# define HAVE_VSNPRINTF
69#if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410)
70# ifndef HAVE_VSNPRINTF
71# define HAVE_VSNPRINTF
86# if !defined(vsnprintf) && !defined(NO_vsnprintf)
87# if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
88# define vsnprintf _vsnprintf
109#if defined(_MSC_VER) && _MSC_VER < 1900
110# define snprintf _snprintf
122 extern voidp malloc
OF((uInt size));
129# define zstrerror() gz_strwinerror((DWORD)GetLastError())
133# define zstrerror() strerror(errno)
135# define zstrerror() "stdio error (consult errno)"
140#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
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
215# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
218# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence)
z_off64_t ZEXPORT gztell64(gzFile file)
unsigned ZLIB_INTERNAL gz_intmax()
gzFile ZEXPORT gzopen64(char *path, const char *mode) const
z_off64_t ZEXPORT gzoffset64(gzFile file)
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))