Go to the documentation of this file.
    9 #include "zlib_name_mangling.h" 
   11 #if !defined(_WIN32) && defined(__WIN32__) 
   18 #ifndef __has_declspec_attribute 
   19 #  define __has_declspec_attribute(x) 0 
   22 #if defined(ZLIB_CONST) && !defined(z_const) 
   23 #  define z_const const 
   30 #  define MAX_MEM_LEVEL 9 
   62 #  define OF(args)  args 
   66 #  define Z_INTERNAL ZLIB_INTERNAL 
   72 #if defined(ZLIB_DLL) && (defined(_WIN32) || (__has_declspec_attribute(dllexport) && __has_declspec_attribute(dllimport))) 
   74 #    define Z_EXTERN extern __declspec(dllexport) 
   76 #    define Z_EXTERN extern __declspec(dllimport) 
   84 #if defined(ZLIB_WINAPI) && defined(_WIN32) 
   85 #  ifndef WIN32_LEAN_AND_MEAN 
   86 #    define WIN32_LEAN_AND_MEAN 
   91 #  define Z_EXPORT WINAPI 
   92 #  define Z_EXPORTVA WINAPIV 
   96 #  define Z_EXTERN extern 
  106 #define ZNG_CONDEXPORT Z_INTERNAL 
  111 #  define ZEXTERN Z_EXTERN 
  114 #  define ZEXPORT Z_EXPORT 
  117 #  define ZEXPORTVA Z_EXPORTVA 
  142 #  define Z_HAVE_UNISTD_H 
  145 #ifdef NEED_PTRDIFF_T     
  146 typedef PTRDIFF_TYPE ptrdiff_t;
 
  149 #include <sys/types.h>       
  159 #if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1 
  160 #  undef _LARGEFILE64_SOURCE 
  163 #if (defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)) && !defined(_WIN32) 
  166 #    define z_off_t off_t 
  170 #if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0 
  174 #if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64) 
  178 #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64) 
  182 #if !defined(SEEK_SET) 
  189 #  define z_off_t long 
  192 #if !defined(_WIN32) && defined(Z_LARGE64) 
  193 #  define z_off64_t off64_t 
  195 #  if defined(__MSYS__) 
  196 #    define z_off64_t _off64_t 
  197 #  elif defined(_WIN32) && !defined(__GNUC__) 
  198 #    define z_off64_t __int64 
  200 #    define z_off64_t z_off_t