Go to the documentation of this file.
16 # define deflateInit_ z_deflateInit_
17 # define deflate z_deflate
18 # define deflateEnd z_deflateEnd
19 # define inflateInit_ z_inflateInit_
20 # define inflate z_inflate
21 # define inflateEnd z_inflateEnd
22 # define deflateInit2_ z_deflateInit2_
23 # define deflateSetDictionary z_deflateSetDictionary
24 # define deflateCopy z_deflateCopy
25 # define deflateReset z_deflateReset
26 # define deflateParams z_deflateParams
27 # define inflateInit2_ z_inflateInit2_
28 # define inflateSetDictionary z_inflateSetDictionary
29 # define inflateSync z_inflateSync
30 # define inflateSyncPoint z_inflateSyncPoint
31 # define inflateReset z_inflateReset
32 # define compress z_compress
33 # define compress2 z_compress2
34 # define uncompress z_uncompress
35 # define adler32 z_adler32
36 # define crc32 z_crc32
37 # define get_crc_table z_get_crc_table
41 # define uLong z_uLong
42 # define Bytef z_Bytef
43 # define charf z_charf
45 # define uIntf z_uIntf
46 # define uLongf z_uLongf
47 # define voidpf z_voidpf
48 # define voidp z_voidp
51 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
54 #if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386)
59 #if defined(__MSDOS__) && !defined(MSDOS)
67 #if defined(MSDOS) && !defined(__32BIT__)
74 #if (defined(MSDOS) || defined(_WINDOWS) || defined(WIN32)) && !defined(STDC)
77 #if defined(__STDC__) || defined(__cplusplus) || defined(__OS2__)
90 #if defined(__MWERKS__) || defined(applec) ||defined(THINK_C) ||defined(__SC__)
91 # define NO_DUMMY_DECL
95 #if defined(__BORLANDC__) && (__BORLANDC__ < 0x500)
96 # define NEED_DUMMY_RETURN
101 #ifndef MAX_MEM_LEVEL
103 # define MAX_MEM_LEVEL 8
105 # define MAX_MEM_LEVEL 9
115 # define MAX_WBITS 15
135 # define OF(args) args
147 #if (defined(M_I86SM) || defined(M_I86MM)) && !defined(__32BIT__)
149 # define SMALL_MEDIUM
156 #if defined(__BORLANDC__) && (defined(__SMALL__) || defined(__MEDIUM__))
158 # define SMALL_MEDIUM
164 #if defined(ZLIB_DLL)
165 # if defined(_WINDOWS) || defined(WINDOWS)
169 # include <windows.h>
170 # define ZEXPORT WINAPI
172 # define ZEXPORTVA WINAPIV
174 # define ZEXPORTVA FAR _cdecl _export
177 # if defined (__BORLANDC__)
178 # if (__BORLANDC__ >= 0x0500) && defined (WIN32)
179 # include <windows.h>
180 # define ZEXPORT __declspec(dllexport) WINAPI
181 # define ZEXPORTRVA __declspec(dllexport) WINAPIV
183 # if defined (_Windows) && defined (__DLL__)
184 # define ZEXPORT _export
185 # define ZEXPORTVA _export
191 #if defined (__BEOS__)
192 # if defined (ZLIB_DLL)
193 # define ZEXTERN extern __declspec(dllexport)
195 # define ZEXTERN extern __declspec(dllimport)
206 # define ZEXTERN extern
213 #if !defined(MACOS) && !defined(TARGET_OS_MAC) && !defined(VCL)
221 # define Bytef Byte FAR
239 # include <sys/types.h>
241 # define z_off_t off_t
249 # define z_off_t long
254 # pragma map(deflateInit_,"DEIN")
255 # pragma map(deflateInit2_,"DEIN2")
256 # pragma map(deflateEnd,"DEEND")
257 # pragma map(inflateInit_,"ININ")
258 # pragma map(inflateInit2_,"ININ2")
259 # pragma map(inflateEnd,"INEND")
260 # pragma map(inflateSync,"INSY")
261 # pragma map(inflateSetDictionary,"INSEDI")
262 # pragma map(inflate_blocks,"INBL")
263 # pragma map(inflate_blocks_new,"INBLNE")
264 # pragma map(inflate_blocks_free,"INBLFR")
265 # pragma map(inflate_blocks_reset,"INBLRE")
266 # pragma map(inflate_codes_free,"INCOFR")
267 # pragma map(inflate_codes,"INCO")
268 # pragma map(inflate_fast,"INFA")
269 # pragma map(inflate_flush,"INFLU")
270 # pragma map(inflate_mask,"INMA")
271 # pragma map(inflate_set_dictionary,"INSEDI2")
272 # pragma map(inflate_copyright,"INCOPY")
273 # pragma map(inflate_trees_bits,"INTRBI")
274 # pragma map(inflate_trees_dynamic,"INTRDY")
275 # pragma map(inflate_trees_fixed,"INTRFI")
276 # pragma map(inflate_trees_free,"INTRFR")