annotate win32-mingw/include/zconf.h @ 91:9fe94270bdf5

Further builds
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 20 Mar 2013 14:58:12 +0000
parents
children
rev   line source
cannam@91 1 /* zconf.h -- configuration of the zlib compression library
cannam@91 2 * Copyright (C) 1995-2012 Jean-loup Gailly.
cannam@91 3 * For conditions of distribution and use, see copyright notice in zlib.h
cannam@91 4 */
cannam@91 5
cannam@91 6 /* @(#) $Id$ */
cannam@91 7
cannam@91 8 #ifndef ZCONF_H
cannam@91 9 #define ZCONF_H
cannam@91 10
cannam@91 11 /*
cannam@91 12 * If you *really* need a unique prefix for all types and library functions,
cannam@91 13 * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
cannam@91 14 * Even better than compiling with -DZ_PREFIX would be to use configure to set
cannam@91 15 * this permanently in zconf.h using "./configure --zprefix".
cannam@91 16 */
cannam@91 17 #ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
cannam@91 18 # define Z_PREFIX_SET
cannam@91 19
cannam@91 20 /* all linked symbols */
cannam@91 21 # define _dist_code z__dist_code
cannam@91 22 # define _length_code z__length_code
cannam@91 23 # define _tr_align z__tr_align
cannam@91 24 # define _tr_flush_block z__tr_flush_block
cannam@91 25 # define _tr_init z__tr_init
cannam@91 26 # define _tr_stored_block z__tr_stored_block
cannam@91 27 # define _tr_tally z__tr_tally
cannam@91 28 # define adler32 z_adler32
cannam@91 29 # define adler32_combine z_adler32_combine
cannam@91 30 # define adler32_combine64 z_adler32_combine64
cannam@91 31 # ifndef Z_SOLO
cannam@91 32 # define compress z_compress
cannam@91 33 # define compress2 z_compress2
cannam@91 34 # define compressBound z_compressBound
cannam@91 35 # endif
cannam@91 36 # define crc32 z_crc32
cannam@91 37 # define crc32_combine z_crc32_combine
cannam@91 38 # define crc32_combine64 z_crc32_combine64
cannam@91 39 # define deflate z_deflate
cannam@91 40 # define deflateBound z_deflateBound
cannam@91 41 # define deflateCopy z_deflateCopy
cannam@91 42 # define deflateEnd z_deflateEnd
cannam@91 43 # define deflateInit2_ z_deflateInit2_
cannam@91 44 # define deflateInit_ z_deflateInit_
cannam@91 45 # define deflateParams z_deflateParams
cannam@91 46 # define deflatePending z_deflatePending
cannam@91 47 # define deflatePrime z_deflatePrime
cannam@91 48 # define deflateReset z_deflateReset
cannam@91 49 # define deflateResetKeep z_deflateResetKeep
cannam@91 50 # define deflateSetDictionary z_deflateSetDictionary
cannam@91 51 # define deflateSetHeader z_deflateSetHeader
cannam@91 52 # define deflateTune z_deflateTune
cannam@91 53 # define deflate_copyright z_deflate_copyright
cannam@91 54 # define get_crc_table z_get_crc_table
cannam@91 55 # ifndef Z_SOLO
cannam@91 56 # define gz_error z_gz_error
cannam@91 57 # define gz_intmax z_gz_intmax
cannam@91 58 # define gz_strwinerror z_gz_strwinerror
cannam@91 59 # define gzbuffer z_gzbuffer
cannam@91 60 # define gzclearerr z_gzclearerr
cannam@91 61 # define gzclose z_gzclose
cannam@91 62 # define gzclose_r z_gzclose_r
cannam@91 63 # define gzclose_w z_gzclose_w
cannam@91 64 # define gzdirect z_gzdirect
cannam@91 65 # define gzdopen z_gzdopen
cannam@91 66 # define gzeof z_gzeof
cannam@91 67 # define gzerror z_gzerror
cannam@91 68 # define gzflush z_gzflush
cannam@91 69 # define gzgetc z_gzgetc
cannam@91 70 # define gzgetc_ z_gzgetc_
cannam@91 71 # define gzgets z_gzgets
cannam@91 72 # define gzoffset z_gzoffset
cannam@91 73 # define gzoffset64 z_gzoffset64
cannam@91 74 # define gzopen z_gzopen
cannam@91 75 # define gzopen64 z_gzopen64
cannam@91 76 # ifdef _WIN32
cannam@91 77 # define gzopen_w z_gzopen_w
cannam@91 78 # endif
cannam@91 79 # define gzprintf z_gzprintf
cannam@91 80 # define gzputc z_gzputc
cannam@91 81 # define gzputs z_gzputs
cannam@91 82 # define gzread z_gzread
cannam@91 83 # define gzrewind z_gzrewind
cannam@91 84 # define gzseek z_gzseek
cannam@91 85 # define gzseek64 z_gzseek64
cannam@91 86 # define gzsetparams z_gzsetparams
cannam@91 87 # define gztell z_gztell
cannam@91 88 # define gztell64 z_gztell64
cannam@91 89 # define gzungetc z_gzungetc
cannam@91 90 # define gzwrite z_gzwrite
cannam@91 91 # endif
cannam@91 92 # define inflate z_inflate
cannam@91 93 # define inflateBack z_inflateBack
cannam@91 94 # define inflateBackEnd z_inflateBackEnd
cannam@91 95 # define inflateBackInit_ z_inflateBackInit_
cannam@91 96 # define inflateCopy z_inflateCopy
cannam@91 97 # define inflateEnd z_inflateEnd
cannam@91 98 # define inflateGetHeader z_inflateGetHeader
cannam@91 99 # define inflateInit2_ z_inflateInit2_
cannam@91 100 # define inflateInit_ z_inflateInit_
cannam@91 101 # define inflateMark z_inflateMark
cannam@91 102 # define inflatePrime z_inflatePrime
cannam@91 103 # define inflateReset z_inflateReset
cannam@91 104 # define inflateReset2 z_inflateReset2
cannam@91 105 # define inflateSetDictionary z_inflateSetDictionary
cannam@91 106 # define inflateSync z_inflateSync
cannam@91 107 # define inflateSyncPoint z_inflateSyncPoint
cannam@91 108 # define inflateUndermine z_inflateUndermine
cannam@91 109 # define inflateResetKeep z_inflateResetKeep
cannam@91 110 # define inflate_copyright z_inflate_copyright
cannam@91 111 # define inflate_fast z_inflate_fast
cannam@91 112 # define inflate_table z_inflate_table
cannam@91 113 # ifndef Z_SOLO
cannam@91 114 # define uncompress z_uncompress
cannam@91 115 # endif
cannam@91 116 # define zError z_zError
cannam@91 117 # ifndef Z_SOLO
cannam@91 118 # define zcalloc z_zcalloc
cannam@91 119 # define zcfree z_zcfree
cannam@91 120 # endif
cannam@91 121 # define zlibCompileFlags z_zlibCompileFlags
cannam@91 122 # define zlibVersion z_zlibVersion
cannam@91 123
cannam@91 124 /* all zlib typedefs in zlib.h and zconf.h */
cannam@91 125 # define Byte z_Byte
cannam@91 126 # define Bytef z_Bytef
cannam@91 127 # define alloc_func z_alloc_func
cannam@91 128 # define charf z_charf
cannam@91 129 # define free_func z_free_func
cannam@91 130 # ifndef Z_SOLO
cannam@91 131 # define gzFile z_gzFile
cannam@91 132 # endif
cannam@91 133 # define gz_header z_gz_header
cannam@91 134 # define gz_headerp z_gz_headerp
cannam@91 135 # define in_func z_in_func
cannam@91 136 # define intf z_intf
cannam@91 137 # define out_func z_out_func
cannam@91 138 # define uInt z_uInt
cannam@91 139 # define uIntf z_uIntf
cannam@91 140 # define uLong z_uLong
cannam@91 141 # define uLongf z_uLongf
cannam@91 142 # define voidp z_voidp
cannam@91 143 # define voidpc z_voidpc
cannam@91 144 # define voidpf z_voidpf
cannam@91 145
cannam@91 146 /* all zlib structs in zlib.h and zconf.h */
cannam@91 147 # define gz_header_s z_gz_header_s
cannam@91 148 # define internal_state z_internal_state
cannam@91 149
cannam@91 150 #endif
cannam@91 151
cannam@91 152 #if defined(__MSDOS__) && !defined(MSDOS)
cannam@91 153 # define MSDOS
cannam@91 154 #endif
cannam@91 155 #if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
cannam@91 156 # define OS2
cannam@91 157 #endif
cannam@91 158 #if defined(_WINDOWS) && !defined(WINDOWS)
cannam@91 159 # define WINDOWS
cannam@91 160 #endif
cannam@91 161 #if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
cannam@91 162 # ifndef WIN32
cannam@91 163 # define WIN32
cannam@91 164 # endif
cannam@91 165 #endif
cannam@91 166 #if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
cannam@91 167 # if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
cannam@91 168 # ifndef SYS16BIT
cannam@91 169 # define SYS16BIT
cannam@91 170 # endif
cannam@91 171 # endif
cannam@91 172 #endif
cannam@91 173
cannam@91 174 /*
cannam@91 175 * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
cannam@91 176 * than 64k bytes at a time (needed on systems with 16-bit int).
cannam@91 177 */
cannam@91 178 #ifdef SYS16BIT
cannam@91 179 # define MAXSEG_64K
cannam@91 180 #endif
cannam@91 181 #ifdef MSDOS
cannam@91 182 # define UNALIGNED_OK
cannam@91 183 #endif
cannam@91 184
cannam@91 185 #ifdef __STDC_VERSION__
cannam@91 186 # ifndef STDC
cannam@91 187 # define STDC
cannam@91 188 # endif
cannam@91 189 # if __STDC_VERSION__ >= 199901L
cannam@91 190 # ifndef STDC99
cannam@91 191 # define STDC99
cannam@91 192 # endif
cannam@91 193 # endif
cannam@91 194 #endif
cannam@91 195 #if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
cannam@91 196 # define STDC
cannam@91 197 #endif
cannam@91 198 #if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
cannam@91 199 # define STDC
cannam@91 200 #endif
cannam@91 201 #if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
cannam@91 202 # define STDC
cannam@91 203 #endif
cannam@91 204 #if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
cannam@91 205 # define STDC
cannam@91 206 #endif
cannam@91 207
cannam@91 208 #if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
cannam@91 209 # define STDC
cannam@91 210 #endif
cannam@91 211
cannam@91 212 #ifndef STDC
cannam@91 213 # ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
cannam@91 214 # define const /* note: need a more gentle solution here */
cannam@91 215 # endif
cannam@91 216 #endif
cannam@91 217
cannam@91 218 #if defined(ZLIB_CONST) && !defined(z_const)
cannam@91 219 # define z_const const
cannam@91 220 #else
cannam@91 221 # define z_const
cannam@91 222 #endif
cannam@91 223
cannam@91 224 /* Some Mac compilers merge all .h files incorrectly: */
cannam@91 225 #if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__)
cannam@91 226 # define NO_DUMMY_DECL
cannam@91 227 #endif
cannam@91 228
cannam@91 229 /* Maximum value for memLevel in deflateInit2 */
cannam@91 230 #ifndef MAX_MEM_LEVEL
cannam@91 231 # ifdef MAXSEG_64K
cannam@91 232 # define MAX_MEM_LEVEL 8
cannam@91 233 # else
cannam@91 234 # define MAX_MEM_LEVEL 9
cannam@91 235 # endif
cannam@91 236 #endif
cannam@91 237
cannam@91 238 /* Maximum value for windowBits in deflateInit2 and inflateInit2.
cannam@91 239 * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
cannam@91 240 * created by gzip. (Files created by minigzip can still be extracted by
cannam@91 241 * gzip.)
cannam@91 242 */
cannam@91 243 #ifndef MAX_WBITS
cannam@91 244 # define MAX_WBITS 15 /* 32K LZ77 window */
cannam@91 245 #endif
cannam@91 246
cannam@91 247 /* The memory requirements for deflate are (in bytes):
cannam@91 248 (1 << (windowBits+2)) + (1 << (memLevel+9))
cannam@91 249 that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
cannam@91 250 plus a few kilobytes for small objects. For example, if you want to reduce
cannam@91 251 the default memory requirements from 256K to 128K, compile with
cannam@91 252 make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
cannam@91 253 Of course this will generally degrade compression (there's no free lunch).
cannam@91 254
cannam@91 255 The memory requirements for inflate are (in bytes) 1 << windowBits
cannam@91 256 that is, 32K for windowBits=15 (default value) plus a few kilobytes
cannam@91 257 for small objects.
cannam@91 258 */
cannam@91 259
cannam@91 260 /* Type declarations */
cannam@91 261
cannam@91 262 #ifndef OF /* function prototypes */
cannam@91 263 # ifdef STDC
cannam@91 264 # define OF(args) args
cannam@91 265 # else
cannam@91 266 # define OF(args) ()
cannam@91 267 # endif
cannam@91 268 #endif
cannam@91 269
cannam@91 270 #ifndef Z_ARG /* function prototypes for stdarg */
cannam@91 271 # if defined(STDC) || defined(Z_HAVE_STDARG_H)
cannam@91 272 # define Z_ARG(args) args
cannam@91 273 # else
cannam@91 274 # define Z_ARG(args) ()
cannam@91 275 # endif
cannam@91 276 #endif
cannam@91 277
cannam@91 278 /* The following definitions for FAR are needed only for MSDOS mixed
cannam@91 279 * model programming (small or medium model with some far allocations).
cannam@91 280 * This was tested only with MSC; for other MSDOS compilers you may have
cannam@91 281 * to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
cannam@91 282 * just define FAR to be empty.
cannam@91 283 */
cannam@91 284 #ifdef SYS16BIT
cannam@91 285 # if defined(M_I86SM) || defined(M_I86MM)
cannam@91 286 /* MSC small or medium model */
cannam@91 287 # define SMALL_MEDIUM
cannam@91 288 # ifdef _MSC_VER
cannam@91 289 # define FAR _far
cannam@91 290 # else
cannam@91 291 # define FAR far
cannam@91 292 # endif
cannam@91 293 # endif
cannam@91 294 # if (defined(__SMALL__) || defined(__MEDIUM__))
cannam@91 295 /* Turbo C small or medium model */
cannam@91 296 # define SMALL_MEDIUM
cannam@91 297 # ifdef __BORLANDC__
cannam@91 298 # define FAR _far
cannam@91 299 # else
cannam@91 300 # define FAR far
cannam@91 301 # endif
cannam@91 302 # endif
cannam@91 303 #endif
cannam@91 304
cannam@91 305 #if defined(WINDOWS) || defined(WIN32)
cannam@91 306 /* If building or using zlib as a DLL, define ZLIB_DLL.
cannam@91 307 * This is not mandatory, but it offers a little performance increase.
cannam@91 308 */
cannam@91 309 # ifdef ZLIB_DLL
cannam@91 310 # if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
cannam@91 311 # ifdef ZLIB_INTERNAL
cannam@91 312 # define ZEXTERN extern __declspec(dllexport)
cannam@91 313 # else
cannam@91 314 # define ZEXTERN extern __declspec(dllimport)
cannam@91 315 # endif
cannam@91 316 # endif
cannam@91 317 # endif /* ZLIB_DLL */
cannam@91 318 /* If building or using zlib with the WINAPI/WINAPIV calling convention,
cannam@91 319 * define ZLIB_WINAPI.
cannam@91 320 * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
cannam@91 321 */
cannam@91 322 # ifdef ZLIB_WINAPI
cannam@91 323 # ifdef FAR
cannam@91 324 # undef FAR
cannam@91 325 # endif
cannam@91 326 # include <windows.h>
cannam@91 327 /* No need for _export, use ZLIB.DEF instead. */
cannam@91 328 /* For complete Windows compatibility, use WINAPI, not __stdcall. */
cannam@91 329 # define ZEXPORT WINAPI
cannam@91 330 # ifdef WIN32
cannam@91 331 # define ZEXPORTVA WINAPIV
cannam@91 332 # else
cannam@91 333 # define ZEXPORTVA FAR CDECL
cannam@91 334 # endif
cannam@91 335 # endif
cannam@91 336 #endif
cannam@91 337
cannam@91 338 #if defined (__BEOS__)
cannam@91 339 # ifdef ZLIB_DLL
cannam@91 340 # ifdef ZLIB_INTERNAL
cannam@91 341 # define ZEXPORT __declspec(dllexport)
cannam@91 342 # define ZEXPORTVA __declspec(dllexport)
cannam@91 343 # else
cannam@91 344 # define ZEXPORT __declspec(dllimport)
cannam@91 345 # define ZEXPORTVA __declspec(dllimport)
cannam@91 346 # endif
cannam@91 347 # endif
cannam@91 348 #endif
cannam@91 349
cannam@91 350 #ifndef ZEXTERN
cannam@91 351 # define ZEXTERN extern
cannam@91 352 #endif
cannam@91 353 #ifndef ZEXPORT
cannam@91 354 # define ZEXPORT
cannam@91 355 #endif
cannam@91 356 #ifndef ZEXPORTVA
cannam@91 357 # define ZEXPORTVA
cannam@91 358 #endif
cannam@91 359
cannam@91 360 #ifndef FAR
cannam@91 361 # define FAR
cannam@91 362 #endif
cannam@91 363
cannam@91 364 #if !defined(__MACTYPES__)
cannam@91 365 typedef unsigned char Byte; /* 8 bits */
cannam@91 366 #endif
cannam@91 367 typedef unsigned int uInt; /* 16 bits or more */
cannam@91 368 typedef unsigned long uLong; /* 32 bits or more */
cannam@91 369
cannam@91 370 #ifdef SMALL_MEDIUM
cannam@91 371 /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
cannam@91 372 # define Bytef Byte FAR
cannam@91 373 #else
cannam@91 374 typedef Byte FAR Bytef;
cannam@91 375 #endif
cannam@91 376 typedef char FAR charf;
cannam@91 377 typedef int FAR intf;
cannam@91 378 typedef uInt FAR uIntf;
cannam@91 379 typedef uLong FAR uLongf;
cannam@91 380
cannam@91 381 #ifdef STDC
cannam@91 382 typedef void const *voidpc;
cannam@91 383 typedef void FAR *voidpf;
cannam@91 384 typedef void *voidp;
cannam@91 385 #else
cannam@91 386 typedef Byte const *voidpc;
cannam@91 387 typedef Byte FAR *voidpf;
cannam@91 388 typedef Byte *voidp;
cannam@91 389 #endif
cannam@91 390
cannam@91 391 #define Z_U4 unsigned
cannam@91 392 /* ./configure put the #define Z_U4 here */
cannam@91 393
cannam@91 394 #if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
cannam@91 395 # include <limits.h>
cannam@91 396 # if (UINT_MAX == 0xffffffffUL)
cannam@91 397 # define Z_U4 unsigned
cannam@91 398 # else
cannam@91 399 # if (ULONG_MAX == 0xffffffffUL)
cannam@91 400 # define Z_U4 unsigned long
cannam@91 401 # else
cannam@91 402 # if (USHRT_MAX == 0xffffffffUL)
cannam@91 403 # define Z_U4 unsigned short
cannam@91 404 # endif
cannam@91 405 # endif
cannam@91 406 # endif
cannam@91 407 #endif
cannam@91 408
cannam@91 409 #ifdef Z_U4
cannam@91 410 typedef Z_U4 z_crc_t;
cannam@91 411 #else
cannam@91 412 typedef unsigned long z_crc_t;
cannam@91 413 #endif
cannam@91 414
cannam@91 415 #if 1 /* was set to #if 1 by ./configure */
cannam@91 416 # define Z_HAVE_UNISTD_H
cannam@91 417 #endif
cannam@91 418
cannam@91 419 #if 1 /* was set to #if 1 by ./configure */
cannam@91 420 # define Z_HAVE_STDARG_H
cannam@91 421 #endif
cannam@91 422
cannam@91 423 #ifdef STDC
cannam@91 424 # ifndef Z_SOLO
cannam@91 425 # include <sys/types.h> /* for off_t */
cannam@91 426 # endif
cannam@91 427 #endif
cannam@91 428
cannam@91 429 #ifdef _WIN32
cannam@91 430 # include <stddef.h> /* for wchar_t */
cannam@91 431 #endif
cannam@91 432
cannam@91 433 /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
cannam@91 434 * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
cannam@91 435 * though the former does not conform to the LFS document), but considering
cannam@91 436 * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
cannam@91 437 * equivalently requesting no 64-bit operations
cannam@91 438 */
cannam@91 439 #if defined(LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
cannam@91 440 # undef _LARGEFILE64_SOURCE
cannam@91 441 #endif
cannam@91 442
cannam@91 443 #if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
cannam@91 444 # define Z_HAVE_UNISTD_H
cannam@91 445 #endif
cannam@91 446 #ifndef Z_SOLO
cannam@91 447 # if defined(Z_HAVE_UNISTD_H) || defined(LARGEFILE64_SOURCE)
cannam@91 448 # include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
cannam@91 449 # ifdef VMS
cannam@91 450 # include <unixio.h> /* for off_t */
cannam@91 451 # endif
cannam@91 452 # ifndef z_off_t
cannam@91 453 # define z_off_t off_t
cannam@91 454 # endif
cannam@91 455 # endif
cannam@91 456 #endif
cannam@91 457
cannam@91 458 #if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
cannam@91 459 # define Z_LFS64
cannam@91 460 #endif
cannam@91 461
cannam@91 462 #if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
cannam@91 463 # define Z_LARGE64
cannam@91 464 #endif
cannam@91 465
cannam@91 466 #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
cannam@91 467 # define Z_WANT64
cannam@91 468 #endif
cannam@91 469
cannam@91 470 #if !defined(SEEK_SET) && !defined(Z_SOLO)
cannam@91 471 # define SEEK_SET 0 /* Seek from beginning of file. */
cannam@91 472 # define SEEK_CUR 1 /* Seek from current position. */
cannam@91 473 # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
cannam@91 474 #endif
cannam@91 475
cannam@91 476 #ifndef z_off_t
cannam@91 477 # define z_off_t long
cannam@91 478 #endif
cannam@91 479
cannam@91 480 #if !defined(_WIN32) && defined(Z_LARGE64)
cannam@91 481 # define z_off64_t off64_t
cannam@91 482 #else
cannam@91 483 # if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
cannam@91 484 # define z_off64_t __int64
cannam@91 485 # else
cannam@91 486 # define z_off64_t z_off_t
cannam@91 487 # endif
cannam@91 488 #endif
cannam@91 489
cannam@91 490 /* MVS linker does not support external names larger than 8 bytes */
cannam@91 491 #if defined(__MVS__)
cannam@91 492 #pragma map(deflateInit_,"DEIN")
cannam@91 493 #pragma map(deflateInit2_,"DEIN2")
cannam@91 494 #pragma map(deflateEnd,"DEEND")
cannam@91 495 #pragma map(deflateBound,"DEBND")
cannam@91 496 #pragma map(inflateInit_,"ININ")
cannam@91 497 #pragma map(inflateInit2_,"ININ2")
cannam@91 498 #pragma map(inflateEnd,"INEND")
cannam@91 499 #pragma map(inflateSync,"INSY")
cannam@91 500 #pragma map(inflateSetDictionary,"INSEDI")
cannam@91 501 #pragma map(compressBound,"CMBND")
cannam@91 502 #pragma map(inflate_table,"INTABL")
cannam@91 503 #pragma map(inflate_fast,"INFA")
cannam@91 504 #pragma map(inflate_copyright,"INCOPY")
cannam@91 505 #endif
cannam@91 506
cannam@91 507 #endif /* ZCONF_H */