6#ifdef _LARGEFILE64_SOURCE
7# ifndef _LARGEFILE_SOURCE
8# define _LARGEFILE_SOURCE 1
10# ifdef _FILE_OFFSET_BITS
11# undef _FILE_OFFSET_BITS
15#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ)
16# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
36# define vsnprintf _vsnprintf
46 extern voidp malloc OF((uInt
size));
47 extern void free OF((voidpf ptr));
53# define zstrerror() gz_strwinerror((DWORD)GetLastError())
57# define zstrerror() strerror(errno)
59# define zstrerror() "stdio error (consult errno)"
64#if !defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0
65 ZEXTERN gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
66 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t,
int));
67 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
68 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
119void ZLIB_INTERNAL gz_error OF((gz_statep,
int,
const char *));
121char ZLIB_INTERNAL *gz_strwinerror OF((DWORD error));
128# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX)
130unsigned ZLIB_INTERNAL gz_intmax OF((
void));
131# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax())
Definition: b1553brm.c:75
unsigned size
Definition: tte.h:1