1 /* zconf.h -- configuration of the zlib compression library
2 * Copyright (C) 1995 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h
6 /* $Id: zconf.h,v 1.10 1995/04/30 19:27:14 jloup Exp $ */
12 The library does not install any signal handler. It is recommended to
13 add at least a handler for SIGSEGV when decompressing; the library checks
14 the consistency of the input data whenever possible but may go nuts
15 for some forms of corrupted input.
19 * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
20 * than 64k bytes at a time (needed on systems with 16-bit int).
22 #if defined(_GNUC__) && !defined(__32BIT__)
25 #if defined(__MSDOS__) && !defined(MSDOS)
28 #if defined(MSDOS) && !defined(__32BIT__)
31 #if !defined(STDC) && (defined(MSDOS) || defined(__STDC__))
37 # define MAX_MEM_LEVEL 8
39 # define MAX_MEM_LEVEL 9
44 # define MAX_WBITS 15 /* 32K LZ77 window */
47 /* Type declarations */
49 #ifndef __P /* function prototypes */
51 # define __P(args) args
58 typedef unsigned char Byte; /* 8 bits */
61 typedef unsigned int uInt; /* 16 bits or more */
64 typedef unsigned long uLong; /* 32 bits or more */