#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE …
# endif
# undef _FILE_OFFSET_BITS
# undef _TIME_BITS
#endif
#ifdef HAVE_HIDDEN
#define ZLIB_INTERNAL …
#else
#define ZLIB_INTERNAL
#endif
#include <stdio.h>
#include "zlib.h"
#ifdef STDC
# include <string.h>
# include <stdlib.h>
# include <limits.h>
#endif
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#include <fcntl.h>
#ifdef _WIN32
# include <stddef.h>
#endif
#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
# include <io.h>
#endif
#if defined(_WIN32)
#define WIDECHAR
#endif
#ifdef WINAPI_FAMILY
#define open …
#define read …
#define write …
#define close …
#endif
#ifdef NO_DEFLATE
#define NO_GZCOMPRESS
#endif
#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
# ifndef HAVE_VSNPRINTF
#define HAVE_VSNPRINTF
# endif
#endif
#if defined(__CYGWIN__)
# ifndef HAVE_VSNPRINTF
#define HAVE_VSNPRINTF
# endif
#endif
#if defined(MSDOS) && defined(__BORLANDC__) && (BORLANDC > 0x410)
# ifndef HAVE_VSNPRINTF
#define HAVE_VSNPRINTF
# endif
#endif
#ifndef HAVE_VSNPRINTF
# ifdef MSDOS
#define NO_vsnprintf
# endif
# ifdef __TURBOC__
#define NO_vsnprintf
# endif
# ifdef WIN32
# if !defined(vsnprintf) && !defined(NO_vsnprintf)
# if !defined(_MSC_VER) || ( defined(_MSC_VER) && _MSC_VER < 1500 )
#define vsnprintf …
# endif
# endif
# endif
# ifdef __SASC
#define NO_vsnprintf
# endif
# ifdef VMS
#define NO_vsnprintf
# endif
# ifdef __OS400__
#define NO_vsnprintf
# endif
# ifdef __MVS__
#define NO_vsnprintf
# endif
#endif
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf …
#endif
#ifndef local
#define local …
#endif
#ifndef STDC
extern voidp malloc(uInt size);
extern void free(voidpf ptr);
#endif
#if defined UNDER_CE
# include <windows.h>
#define zstrerror …
#else
# ifndef NO_STRERROR
# include <errno.h>
#define zstrerror() …
# else
#define zstrerror …
# endif
#endif
#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);
ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);
ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
#endif
#if MAX_MEM_LEVEL >= 8
#define DEF_MEM_LEVEL …
#else
#define DEF_MEM_LEVEL …
#endif
#define GZBUFSIZE …
#define GZ_NONE …
#define GZ_READ …
#define GZ_WRITE …
#define GZ_APPEND …
#define LOOK …
#define COPY …
#define GZIP …
gz_state;
gz_statep;
void ZLIB_INTERNAL gz_error(gz_statep, int, const char *);
#if defined UNDER_CE
char ZLIB_INTERNAL *gz_strwinerror(DWORD error);
#endif
unsigned ZLIB_INTERNAL gz_intmax(void);
#define GT_OFF(x) …