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));
123 extern void free OF((voidpf ptr));
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
141 ZEXTERN
gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
142 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((
gzFile, z_off64_t,
int));
143 ZEXTERN z_off64_t ZEXPORT gztell64 OF((
gzFile));
144 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((
gzFile));
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
206void ZLIB_INTERNAL gz_error OF((gz_statep,
int,
const char *));
208char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error));
215# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
217unsigned ZLIB_INTERNAL gz_intmax OF((
void));
218# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
Definition: b1553brm.c:94