#if defined(_WIN32) && (!(defined(_CRT_SECURE_NO_WARNINGS)))
#define _CRT_SECURE_NO_WARNINGS
#endif
#if defined(__APPLE__) || defined(__Fuchsia__) || defined(IOAPI_NO_64) || defined(__HAIKU__) || defined(MINIZIP_FOPEN_NO_64)
#define FOPEN_FUNC …
#define FTELLO_FUNC …
#define FSEEKO_FUNC …
#else
#define FOPEN_FUNC(filename, mode) …
#define FTELLO_FUNC(stream) …
#define FSEEKO_FUNC(stream, offset, origin) …
#endif
#include "ioapi.h"
voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc, const void*filename, int mode) { … }
long call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin) { … }
ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc, voidpf filestream) { … }
void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filefunc64_32, const zlib_filefunc_def* p_filefunc32) { … }
static voidpf ZCALLBACK fopen_file_func(voidpf opaque, const char* filename, int mode) { … }
static voidpf ZCALLBACK fopen64_file_func(voidpf opaque, const void* filename, int mode) { … }
static uLong ZCALLBACK fread_file_func(voidpf opaque, voidpf stream, void* buf, uLong size) { … }
static uLong ZCALLBACK fwrite_file_func(voidpf opaque, voidpf stream, const void* buf, uLong size) { … }
static long ZCALLBACK ftell_file_func(voidpf opaque, voidpf stream) { … }
static ZPOS64_T ZCALLBACK ftell64_file_func(voidpf opaque, voidpf stream) { … }
static long ZCALLBACK fseek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin) { … }
static long ZCALLBACK fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) { … }
static int ZCALLBACK fclose_file_func(voidpf opaque, voidpf stream) { … }
static int ZCALLBACK ferror_file_func(voidpf opaque, voidpf stream) { … }
void fill_fopen_filefunc(zlib_filefunc_def* pzlib_filefunc_def) { … }
void fill_fopen64_filefunc(zlib_filefunc64_def* pzlib_filefunc_def) { … }