head 1.1; branch 1.1.1; access; symbols trunk-20040613:1.1.1.7 mach64-last-merge:1.1.1.7 driinterface-0-0-3-20040303-merge:1.1.1.7 driinterface-0-0-3-20040303-premerge:1.1.1.7 driinterface-0-0-3-20040303:1.1.1.7 driinterface-0-0-3-branch:1.1.1.7.0.38 mach64-0-0-7-branch:1.1.1.7.0.36 driinterface-0-0-2-branch:1.1.1.7.0.34 newmesa-0-0-1-20031209-merge:1.1.1.7 trunk-20031209:1.1.1.7 newmesa-0-0-1-20031209:1.1.1.7 newmesa-0-0-1-branch:1.1.1.7.0.32 driinterface-0-0-1-branch:1.1.1.7.0.30 savage-2-0-0-branch:1.1.1.7.0.28 savage-2-0-0-fork:1.1.1.7 config-0-0-1-20031005-freeze:1.1.1.7 savage-1_0_0-20031002-trunk-premerge:1.1.1.7 cle266-0-0-1-branch:1.1.1.7.0.26 i865-agp-0-1-20030929:1.1.1.7 trunk-20030916:1.1.1.7 XFree86-4_3_99_12-merge:1.1.1.7 trunk-20030912:1.1.1.7 i865-agp-0-1-20030905:1.1.1.7 i865-agp-0-1-20030728:1.1.1.7 i865-agp-0-1-20030707:1.1.1.7 savage-1_0_0-branch:1.1.1.7.0.24 newdrm-0-0-1-branch:1.1.1.7.0.22 i865-agp-0-1-branch:1.1.1.7.0.20 config-0-0-1-branch:1.1.1.7.0.18 texmem-0-0-1-20030429-merge:1.1.1.7 texmem-0-0-1-20030429-premerge:1.1.1.7 texmem-0-0-1-20030407:1.1.1.6.36.1 trident-0-0-2-branch:1.1.1.7.0.16 mach64-0-0-6-20030330:1.1.1.7 mach64-0-0-6-20030329-freeze:1.1.1.7 texmem-0-0-1-20030328-freeze:1.1.1.6.36.1 X_4_3_0-20030324-merge:1.1.1.7 X_4_3_0-20020324-preimport:1.1.1.7 drm-filp-0-1-branch:1.1.1.7.0.14 mesa-4-0-4-20030222:1.1.1.7 bsd-4-0-0-20030221-merge:1.1.1.7 bsd-4-0-0-20030220:1.1.1.7 bsd-4-0-0-20030220-freeze:1.1.1.7 mesa-4-0-4-20030216:1.1.1.7 mach64-0-0-6-branch:1.1.1.7.0.12 mesa-4-0-4-20030208:1.1.1.7 texmem-0-0-1-20030204-trunk-merge:1.1.1.6.36.1 texmem-0-0-1-20030204-trunk-premerge:1.1.1.6.36.1 mesa-4-0-4-20030203:1.1.1.7 mesa-4-0-4-20030129:1.1.1.7 texmem-0-0-1-20030125-trunk-merge:1.1.1.6.36.1 texmem-0-0-1-20030123-trunk-premerge:1.1.1.6.36.1 mesa-4-0-4-20030114:1.1.1.7 agpgart_2_0_branch:1.1.1.7.0.10 mesa-4-0-4-20021220:1.1.1.7 mesa-4-0-4-20021216:1.1.1.7 mesa-4-0-4-20021215:1.1.1.7 mesa-4-0-4-20021214:1.1.1.7 mesa-4-0-4-branch:1.1.1.7.0.8 dmx-1-0-20021129-final:1.1.1.6 texmem-0-0-1-20021127-mesa-4-1-merge:1.1.1.6.36.1 trunk-20021125:1.1.1.7 dmx-1-0-20021115-beta:1.1.1.6 bsd-4-0-0-branch:1.1.1.7.0.6 nv-0-0-1-branch:1.1.1.7.0.4 savage-0-0-1-branch:1.1.1.7.0.2 stable-1-0-branch:1.1.1.6.0.42 r200-stable-1-0-20021028:1.1.1.6 dmx-1-0-20021025-alpha:1.1.1.6 X_4_2_99_2-20021023-merge:1.1.1.7 X_4_2_99_2:1.1.1.7 trunk-20021022:1.1.1.6 r200-stable-1-0-branch:1.1.1.6.0.40 mesa-4-1-branch:1.1.1.6.0.38 texmem-0-0-1:1.1.1.6.0.36 trunk-20021002:1.1.1.6 dmx-1-0-20020926-final:1.1.1.6 dmx-1-0-20020830-beta:1.1.1.6 r200-0-2-branch:1.1.1.6.0.34 r200-0-1-20020822-merge:1.1.1.6 r200-0-1-20020822:1.1.1.6 r200-0-1-20020826-freeze:1.1.1.6 xv845g-0-1-branch:1.1.1.6.0.32 xv845g-0-1-bp:1.1.1.6 GEODE-BASE-DRIVER:1.1.1.6 geode-0-0-1-branch:1.1.1.6.0.30 tdlabs-0-0-1-branch:1.1.1.6.0.28 reinit-0-0-1-branch:1.1.1.6.0.26 dmx-1-0-20020719-alpha:1.1.1.6 r200-0-1-20020715:1.1.1.6 r200-0-1-20020714-freeze:1.1.1.6 bsd-3-0-0-20020705-merge:1.1.1.6 bsd-3-0-0-freeze:1.1.1.6 trunk-20020705:1.1.1.6 bsd-3-0-0-20020705:1.1.1.6 trunk-20020703:1.1.1.6 mach64-0-0-5-branch:1.1.1.6.0.22 trunk-20020626:1.1.1.6 trunk-20020617:1.1.1.6 tcl-0-0-20020612-merge:1.1.1.6 tcl-0-0-20020612:1.1.1.6 tcl-0-0-20020612-freeze:1.1.1.6 r200-0-1-branch:1.1.1.6.0.24 dmx-1-0-20020604-phase1:1.1.1.6 dmx-1-0-20020603-base:1.1.1.6 dmx-1-0-branch:1.1.1.6.0.20 dmx-0-1-20020531-final:1.1.1.5 mach64-0-0-4-dma-branch:1.1.1.6.0.18 dmx-0-1-20020419-beta:1.1.1.5 mach64-0-0-4-branch:1.1.1.6.0.16 drmcommand-0-0-1-20020409-merge:1.1.1.6 drmcommand-0-0-1-20020409:1.1.1.6 drmcommand-0-0-1-20020409-freeze:1.1.1.6 trunk-20020328:1.1.1.6 s3virge-0-0-1-branch:1.1.1.6.0.14 drmcommand-0-0-1-branch:1.1.1.6.0.12 trident-0-0-1-branch:1.1.1.6.0.10 mach64-0-0-3-dma-branch:1.1.1.6.0.8 bsd-3-0-0-branch:1.1.1.6.0.6 dmx-0-1-20020228-alpha:1.1.1.5 mach64-0-0-3-branch:1.1.1.6.0.4 trunk-20020221:1.1.1.6 tcl-0-0-branch:1.1.1.6.0.2 mesa-4-0-20020214-merge:1.1.1.6 mesa-4-0-20020214:1.1.1.5.8.1 mesa-4-0-20020213:1.1.1.5.8.1 mesa-4-0-20020211-freeze:1.1.1.5 X_4_2_0-20020128-merge:1.1.1.6 X_4_2_0:1.1.1.6 X_4_2_0-20020127-preimport:1.1.1.5 X_4_2_0-20020123-preimport:1.1.1.5 dmx-0-1-20020112:1.1.1.5 dmx-0-1-20011128-snapshot:1.1.1.5 dmx-0-1-20011115:1.1.1.5 dmx-0-1-branch:1.1.1.5.0.12 mach64-0-0-2-branch:1.1.1.5.0.10 mesa-4-0-branch:1.1.1.5.0.8 X_4_1_99_1-20010822-merge:1.1.1.5 X_4_1_99_1:1.1.1.5 X_4_1_99_1-20010822-preimport:1.1.1.5 multihead-1-0-0-20010730:1.1.1.5 multihead-1-0-0-20010730-merge:1.1.1.5 multihead-1-0-0-20010727-freeze:1.1.1.5 X_4_1_0-20010615-merge:1.1.1.5 mesa-3-5-20010621-freeze:1.1.1.4.20.1 X_4_1_0:1.1.1.5 X_4_1_0-20010614-preimport:1.1.1.5 multihead-1-0-0-branch:1.1.1.5.0.6 X_4_0_99_3-20010502-merge:1.1.1.5 X_4_0_99_3:1.1.1.5 X_4_0_99_3-20010501-preimport:1.1.1.5 bsd-2-0-0-branch:1.1.1.5.0.4 X_4_0_99_2-20010410-merge:1.1.1.5 X_4_0_99_2:1.1.1.5 X_4_0_99_2-20010409-preimport:1.1.1.5 ati-pcigart-1-0-0-20010405-merge:1.1.1.5 ati-pcigart-1-0-0-20010405:1.1.1.5 ati-pcigart-1-0-0-20010405-freeze:1.1.1.5 ati-pcigart-1-0-0-branch:1.1.1.5.0.2 mesa-3-5-20010323-freeze:1.1.1.4 X_4_0_99_1-20010321-merge:1.1.1.5 X_4_0_99_1:1.1.1.5 X_4_0_99_1-20010319-preimport:1.1.1.4 full-1-0-0-20010315-head:1.1.1.4 sarea-1-0-0-20010314-merge:1.1.1.4 sarea-1-0-0-20010314:1.1.1.4 full-1-0-0-branch:1.1.1.4 sarea-1-0-0-20010307:1.1.1.4 sarea-1-0-0-20010307-freeze:1.1.1.4 tdfx-3-1-0-20010306-merge:1.1.1.4 tdfx-3-1-0-20010306-freeze:1.1.1.4 tdfx-3-1-0-20010306:1.1.1.4 tdfx-3-1-0-20010305-merge:1.1.1.4 tdfx-3-1-0-20010305-freeze2:1.1.1.4 tdfx-3-1-0-20010305-freeze:1.1.1.4 tdfx-3-1-0-20010301-freeze:1.1.1.4 ati-pcigart-0-0-1-branch-02282001-freeze:1.1.1.4 ati-5-0-1-20010220-head:1.1.1.4 ati-5-0-1-branch:1.1.1.4.0.28 sarea-1-0-0-branch:1.1.1.4.0.26 mga-1-0-0-20010215-merge:1.1.1.4 mga-1-0-0-20010215-freeze:1.1.1.4 tdfx-3-1-0-branch:1.1.1.4.0.24 tdfx-3-0-1-branch:1.1.1.4 ati-pcigart-0-0-1-branch:1.1.1.4.0.22 mesa-3-5-branch:1.1.1.4.0.20 tdfx-3-0-0-20010109-merge:1.1.1.4 tdfx-3-0-0-20010108:1.1.1.4 ati-5-0-0-20010105-merge:1.1.1.4 ati-5-0-0-20010105:1.1.1.4 ati-5-0-0-20000104-freeze:1.1.1.4 tdfx-3-0-0-20010104-freeze:1.1.1.4 ati-5-0-0-20001223-merge:1.1.1.4 ati-5-0-0-20001223-freeze:1.1.1.4 X_4_0_2-20001221-merge:1.1.1.4 X_4_0_2:1.1.1.4 mga-1-0-0-branch:1.1.1.4.0.18 X_4_0_1h-20001207-merge:1.1.1.4 X_4_0_1h-20001205-merge:1.1.1.4 X_4_0_1h:1.1.1.4 ati-4-1-1-20001202-merge-trunk:1.1.1.4 sse-1-0-1-branch:1.1.1.4.0.16 ati-4-1-1-20001202-merge:1.1.1.2 tdfx-3-0-0-20001201:1.1.1.4 ati-4-1-1-20001201-freeze:1.1.1.2 tdfx-3-0-0-20001201-freeze:1.1.1.4 X_4_0_1g-20001130-merge:1.1.1.4 X_4_0_1g:1.1.1.4 X_4_0_1f-20001130-merge:1.1.1.4 X_4_0_1f:1.1.1.4 ati-4-1-1-20001125-freeze:1.1.1.2 mach64-0-0-1-branch:1.1.1.4.0.14 ati-5-0-0-branch:1.1.1.4.0.12 X_4_0_1e-20001107-merge:1.1.1.4 X_4_0_1e:1.1.1.4 X_4_0_1d-20001107-merge:1.1.1.4 X_4_0_1d:1.1.1.4 ppc-1-0-1-branch:1.1.1.4.0.10 radeon-1-0-0-20001017:1.1.1.2 full-0-0-2-branch:1.1.1.4.0.8 full-0-0-1-branch:1.1.1.4.0.6 ati-4-1-1-20001009-freeze:1.1.1.2 mga-readpix-0-0-1-branch:1.1.1.4.0.4 tdfx-3-0-0-branch:1.1.1.4.0.2 X_4_0_1d-pre:1.1.1.4 ati-4-1-1-20000919-stable:1.1.1.2 radeon-1-0-0-branch:1.1.1.2.0.16 ppc-1-0-0-20000912:1.1.1.1.48.1 mga-lock-debug-0-2-0-branch:1.1.1.2.0.14 sse-1-0-0-branch:1.1.1.2.0.12 mga-lock-debug-0-0-1-branch:1.1.1.2.0.10 gamma-2-0-0-branch:1.1.1.2.0.8 tdfx-2-1-20000907-merge:1.1.1.2 tdfx-2-1-20000906:1.1.1.1.46.1 tdfx-2-1-20000905-freeze:1.1.1.1 ppc-1-0-0-2000-09-01-freeze:1.1.1.1 m3-0-0-1-branch:1.1.1.2.0.6 mach64-0-0-0-branch:1.1.1.2.0.4 ati-4-1-1-branch:1.1.1.2.0.2 X_4_0_1b-20000816-merge:1.1.1.2 X_4_0_1b:1.1.1.2 ati-4-0-2-branch:1.1.1.1.0.50 ppc-1-0-0-branch:1.1.1.1.0.48 tdfx-2-1-20000711:1.1.1.1 tdfx-2-1-20000711-freeze:1.1.1.1 X_4_0_1:1.1.1.1 tdfx-2-1-branch:1.1.1.1.0.46 pre401-20000613-freeze:1.1.1.1 bsd-1-0-1-20000613-merge:1.1.1.1 bsd-1-0-1-20000613:1.1.1.1 bsd-1-0-1-20000612-freeze:1.1.1.1 tdfx-2-0-20000612-merge:1.1.1.1 ati-4-1-0-20000613-merge:1.1.1.1 ati-4-1-0-20000613:1.1.1.1 tdfx-2-0-20000608-merge:1.1.1.1 tdfx-2-0-20000608-freeze:1.1.1.1 ati-4-1-0-branch:1.1.1.1.0.44 glxmisc-3-0-0-20000608-merge:1.1.1.1 glxmisc-3-0-0-20000607:1.1.1.1 glxmisc-3-0-0-20000606-freeze:1.1.1.1 bsd-1-0-1-branch:1.1.1.1.0.42 bsd-1-0-0-20000531-merge:1.1.1.1 bsd-1-0-0-20000530-merge:1.1.1.1 bsd-1-0-0-20000530-freeze:1.1.1.1 tdfx-2-0-20000222-merge:1.1.1.1 tdfx-2-0-20000222-freeze:1.1.1.1 ati-4-0-1-20000518-merge:1.1.1.1 ati-4-0-1-20000518:1.1.1.1 video-1-0-0-branch:1.1.1.1.0.40 gamma-1-0-0-branch:1.1.1.1.0.38 mgadh-0-0-3-branch:1.1.1.1.0.36 glxmisc-3-0-0-branch:1.1.1.1.0.34 glxmisc-2-0-0-20000503-merge:1.1.1.1 bsd-1-0-0-branch:1.1.1.1.0.32 glxmisc-2-0-0-20000503:1.1.1.1 glxmisc-2-0-0-branch:1.1.1.1.0.30 tdfx-2-0-branch:1.1.1.1.0.28 tdfx-2-0-trunk:1.1.1.1 glxmisc-1-0-0-20000420-merge:1.1.1.1 glxmisc-1-0-0-20000420:1.1.1.1 ati-4-0-1-beta:1.1.1.1 glxmisc-1-0-0-branch:1.1.1.1.0.26 mga-0-0-3-branch:1.1.1.1.0.24 mga-0-0-2-20000404-merge:1.1.1.1 ati-4-0-1-alpha:1.1.1.1 ati-4-0-1-20000319-base:1.1.1.1 ati-4-0-1-branch:1.1.1.1.0.22 ati-4-0-0-20000319:1.1.1.1 X_4_0-20000315-merge:1.1.1.1 X_4_0:1.1.1.1 freeze-20000226:1.1.1.1 dispatch-0-0-3-20000225-merge:1.1.1.1 dispatch-0-0-3-20000225:1.1.1.1 mga-0-0-1-20000225-merge:1.1.1.1 mga-0-0-2-branch:1.1.1.1.0.20 smt-0-0-2-branch:1.1.1.1.0.18 smt-0-0-1-20000222-freeze:1.1.1.1 X_3_9_18-20000222-merge:1.1.1.1 X_3_9_18:1.1.1.1 smt-0-0-1-stage2c:1.1.1.1 smt-0-0-1-stage2b:1.1.1.1.0.16 dispatch-0-0-3-branch:1.1.1.1.0.14 i810-20000214-beta2:1.1.1.1 dispatch-0-0-2-20000212:1.1.1.1 dispatch-0-0-2-branch:1.1.1.1.0.12 i810-20000201-beta1:1.1.1.1 dispatch-0-0-1-20000129-merge:1.1.1.1 dispatch-0-0-1-20000128:1.1.1.1 smt-0-0-1-20000112-base:1.1.1.1 smt-0-0-1-branch:1.1.1.1.0.6 dispatch-0-0-1-branch:1.1.1.1.0.10 tdfx-1-1:1.1.1.1.0.4 X_3_9_17:1.1.1.1 ati-4-0-0-branch:1.1.1.1.0.8 mga-0-0-1-branch:1.1.1.1.0.2 X_3_9_16:1.1.1.1 XFree:1.1.1; locks; strict; comment @ * @; 1.1 date 99.12.05.01.04.14; author daryll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.12.05.01.04.14; author daryll; state Exp; branches 1.1.1.1.46.1 1.1.1.1.48.1; next 1.1.1.2; 1.1.1.2 date 2000.08.16.17.22.25; author dawes; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2000.09.22.17.29.36; author alanh; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2000.09.23.20.59.42; author alanh; state Exp; branches 1.1.1.4.20.1; next 1.1.1.5; 1.1.1.5 date 2001.03.19.17.45.24; author dawes; state Exp; branches 1.1.1.5.8.1; next 1.1.1.6; 1.1.1.6 date 2002.01.27.18.21.58; author dawes; state Exp; branches 1.1.1.6.36.1 1.1.1.6.38.1; next 1.1.1.7; 1.1.1.7 date 2002.10.22.13.02.38; author alanh; state Exp; branches; next ; 1.1.1.6.36.1 date 2002.11.11.23.32.08; author idr; state Exp; branches; next ; 1.1.1.6.38.1 date 2002.11.15.01.58.29; author brianp; state Exp; branches; next ; 1.1.1.5.8.1 date 2002.02.12.00.36.21; author dawes; state Exp; branches; next ; 1.1.1.4.20.1 date 2001.03.27.20.03.21; author gareth; state Exp; branches; next ; 1.1.1.1.46.1 date 2000.09.06.12.11.30; author alanh; state Exp; branches; next ; 1.1.1.1.48.1 date 2000.09.12.19.17.33; author mdaenzer; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @/* $TOG: zconf.h /main/5 1998/02/04 14:51:21 kaleb $ */ /* zconf.h -- configuration of the zlib compression library * Copyright (C) 1995-1996 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ #ifndef _ZCONF_H #define _ZCONF_H /* * If you *really* need a unique prefix for all types and library functions, * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. */ #ifdef Z_PREFIX # define deflateInit_ z_deflateInit_ # define deflate z_deflate # define deflateEnd z_deflateEnd # define inflateInit_ z_inflateInit_ # define inflate z_inflate # define inflateEnd z_inflateEnd # define deflateInit2_ z_deflateInit2_ # define deflateSetDictionary z_deflateSetDictionary # define deflateCopy z_deflateCopy # define deflateReset z_deflateReset # define deflateParams z_deflateParams # define inflateInit2_ z_inflateInit2_ # define inflateSetDictionary z_inflateSetDictionary # define inflateSync z_inflateSync # define inflateSyncPoint z_inflateSyncPoint # define inflateReset z_inflateReset # define compress z_compress # define uncompress z_uncompress # define adler32 z_adler32 # define crc32 z_crc32 # define get_crc_table z_get_crc_table # define Byte z_Byte # define uInt z_uInt # define uLong z_uLong # define Bytef z_Bytef # define charf z_charf # define intf z_intf # define uIntf z_uIntf # define uLongf z_uLongf # define voidpf z_voidpf # define voidp z_voidp #endif #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) # define WIN32 #endif #if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386) || defined(__EMX__) # ifndef __32BIT__ # define __32BIT__ # endif #endif #if defined(__MSDOS__) && !defined(MSDOS) # define MSDOS #endif /* * Compile with -DMAXSEG_64K if the alloc function cannot allocate more * than 64k bytes at a time (needed on systems with 16-bit int). */ #if defined(MSDOS) && !defined(__32BIT__) # define MAXSEG_64K #endif #ifdef MSDOS # define UNALIGNED_OK #endif #if (defined(MSDOS) || defined(_WINDOWS) || defined(WIN32)) && !defined(STDC) # define STDC #endif #if defined(__STDC__) || defined(__cplusplus) || defined(__OS2__) # ifndef STDC # define STDC # endif #endif #ifndef STDC # ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */ # define const # endif #endif /* Some Mac compilers merge all .h files incorrectly: */ #if defined(__MWERKS__) || defined(applec) ||defined(THINK_C) ||defined(__SC__) # define NO_DUMMY_DECL #endif /* Borland C incorrectly complains about missing returns: */ #if defined(__BORLANDC__) # define NEED_DUMMY_RETURN #endif /* Maximum value for memLevel in deflateInit2 */ #ifndef MAX_MEM_LEVEL # ifdef MAXSEG_64K # define MAX_MEM_LEVEL 8 # else # define MAX_MEM_LEVEL 9 # endif #endif /* Maximum value for windowBits in deflateInit2 and inflateInit2. * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files * created by gzip. (Files created by minigzip can still be extracted by * gzip.) */ #ifndef MAX_WBITS # define MAX_WBITS 15 /* 32K LZ77 window */ #endif /* The memory requirements for deflate are (in bytes): (1 << (windowBits+2)) + (1 << (memLevel+9)) that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values) plus a few kilobytes for small objects. For example, if you want to reduce the default memory requirements from 256K to 128K, compile with make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7" Of course this will generally degrade compression (there's no free lunch). The memory requirements for inflate are (in bytes) 1 << windowBits that is, 32K for windowBits=15 (default value) plus a few kilobytes for small objects. */ /* Type declarations */ #ifndef OF /* function prototypes */ # ifdef STDC # define OF(args) args # else # define OF(args) () # endif #endif /* The following definitions for FAR are needed only for MSDOS mixed * model programming (small or medium model with some far allocations). * This was tested only with MSC; for other MSDOS compilers you may have * to define NO_MEMCPY in zutil.h. If you don't need the mixed model, * just define FAR to be empty. */ #if (defined(M_I86SM) || defined(M_I86MM)) && !defined(__32BIT__) /* MSC small or medium model */ # define SMALL_MEDIUM # ifdef _MSC_VER # define FAR __far # else # define FAR far # endif #endif #if defined(__BORLANDC__) && (defined(__SMALL__) || defined(__MEDIUM__)) # ifndef __32BIT__ # define SMALL_MEDIUM # define FAR __far # endif #endif #ifndef FAR # define FAR #endif typedef unsigned char Byte; /* 8 bits */ typedef unsigned int uInt; /* 16 bits or more */ typedef unsigned long uLong; /* 32 bits or more */ #if defined(__BORLANDC__) && defined(SMALL_MEDIUM) /* Borland C/C++ ignores FAR inside typedef */ # define Bytef Byte FAR #else typedef Byte FAR Bytef; #endif typedef char FAR charf; typedef int FAR intf; typedef uInt FAR uIntf; typedef uLong FAR uLongf; #ifdef STDC typedef void FAR *voidpf; typedef void *voidp; #else typedef Byte FAR *voidpf; typedef Byte *voidp; #endif #ifndef X_NOT_POSIX # include /* for off_t */ #ifndef WIN32 # include /* for SEEK_* and off_t */ #else # include /* this is where VC++ has SEEK_* */ #endif # define z_off_t off_t #endif #ifndef SEEK_SET # define SEEK_SET 0 /* Seek from beginning of file. */ # define SEEK_CUR 1 /* Seek from current position. */ #endif #ifndef z_off_t # define z_off_t long #endif /* Compile with -DZLIB_DLL for Windows DLL support */ #if (defined(_WINDOWS) || defined(WINDOWS)) && defined(ZLIB_DLL) # undef FAR # include # define EXPORT WINAPI # ifdef WIN32 # define EXPORTVA WINAPIV # else # define EXPORTVA FAR _cdecl _export # endif #else # if defined (__BORLANDC__) && defined (_Windows) && defined (__DLL__) # define EXPORT _export # define EXPORTVA _export # else # define EXPORT # define EXPORTVA # endif #endif /* MVS linker does not support external names larger than 8 bytes */ #if defined(__MVS__) # pragma map(deflateInit_,"DEIN") # pragma map(deflateInit2_,"DEIN2") # pragma map(deflateEnd,"DEEND") # pragma map(inflateInit_,"ININ") # pragma map(inflateInit2_,"ININ2") # pragma map(inflateEnd,"INEND") # pragma map(inflateSync,"INSY") # pragma map(inflateSetDictionary,"INSEDI") # pragma map(inflate_blocks,"INBL") # pragma map(inflate_blocks_new,"INBLNE") # pragma map(inflate_blocks_free,"INBLFR") # pragma map(inflate_blocks_reset,"INBLRE") # pragma map(inflate_codes_free,"INCOFR") # pragma map(inflate_codes,"INCO") # pragma map(inflate_fast,"INFA") # pragma map(inflate_flush,"INFLU") # pragma map(inflate_mask,"INMA") # pragma map(inflate_set_dictionary,"INSEDI2") # pragma map(inflate_copyright,"INCOPY") # pragma map(inflate_trees_bits,"INTRBI") # pragma map(inflate_trees_dynamic,"INTRDY") # pragma map(inflate_trees_fixed,"INTRFI") # pragma map(inflate_trees_free,"INTRFR") #endif #endif /* _ZCONF_H */ @ 1.1.1.1 log @Import XFree 3.9.16 @ text @@ 1.1.1.1.48.1 log @merge trunk to ppc-1-0-0-branch @ text @a7 2 /* $XFree86: xc/lib/zlib/zconf.h,v 1.6 2000/08/09 23:40:16 dawes Exp $ */ d50 1 a50 1 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) && !defined(__CYGWIN__) @ 1.1.1.1.46.1 log @Merge trunk into tdfx-2-1-branch @ text @a7 2 /* $XFree86: xc/lib/zlib/zconf.h,v 1.6 2000/08/09 23:40:16 dawes Exp $ */ d50 1 a50 1 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) && !defined(__CYGWIN__) @ 1.1.1.2 log @Import of XFree86 4.0.1b @ text @a7 2 /* $XFree86: xc/lib/zlib/zconf.h,v 1.6 2000/08/09 23:40:16 dawes Exp $ */ d50 1 a50 1 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) && !defined(__CYGWIN__) @ 1.1.1.3 log @Import of XFree86 4.0.1d-pre @ text @d8 1 a8 1 /* $XFree86$ */ @ 1.1.1.4 log @Import of XFree86 4.0.1d-pre (2) @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.6 2000/08/09 23:40:16 dawes Exp $ */ @ 1.1.1.4.20.1 log @Initial merge of trunk onto branch. @ text @d1 1 a1 1 /* $Xorg: zconf.h,v 1.3 2000/08/17 19:46:48 cpqbld Exp $ */ d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.7 2001/01/17 19:43:55 dawes Exp $ */ @ 1.1.1.5 log @Import of XFree86 4.0.99.1 @ text @d1 1 a1 1 /* $Xorg: zconf.h,v 1.3 2000/08/17 19:46:48 cpqbld Exp $ */ d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.7 2001/01/17 19:43:55 dawes Exp $ */ @ 1.1.1.5.8.1 log @Initial merge of trunk into mesa-4-0 branch. @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.8 2001/09/03 20:19:00 alanh Exp $ */ d52 1 a52 1 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) @ 1.1.1.6 log @Import of XFree86 4.2.0 @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.8 2001/09/03 20:19:00 alanh Exp $ */ d52 1 a52 1 #if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) @ 1.1.1.6.38.1 log @merge from trunk @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.9 2002/05/31 18:45:52 dawes Exp $ */ d55 1 a55 1 #if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386) || defined(__UNIXOS2__) @ 1.1.1.6.36.1 log @Massive merge from trunk. @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.9 2002/05/31 18:45:52 dawes Exp $ */ d55 1 a55 1 #if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386) || defined(__UNIXOS2__) @ 1.1.1.7 log @Import of XFree86 4.2.99.2 @ text @d8 1 a8 1 /* $XFree86: xc/lib/zlib/zconf.h,v 1.9 2002/05/31 18:45:52 dawes Exp $ */ d55 1 a55 1 #if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386) || defined(__UNIXOS2__) @