summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/zconf.h b/zconf.h
index bcd8510..4e05a3e 100644
--- a/zconf.h
+++ b/zconf.h
@@ -3,7 +3,7 @@
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6/* $Id: zconf.h,v 1.9 1995/04/29 12:02:14 jloup Exp $ */ 6/* $Id: zconf.h,v 1.10 1995/04/30 19:27:14 jloup Exp $ */
7 7
8#ifndef _ZCONF_H 8#ifndef _ZCONF_H
9#define _ZCONF_H 9#define _ZCONF_H
@@ -32,10 +32,16 @@
32# define STDC 32# define STDC
33#endif 33#endif
34 34
35#ifdef MAXSEG_64K 35#ifndef MAX_MEM_LEVEL
36# define MAX_MEM_LEVEL 8 36# ifdef MAXSEG_64K
37#else 37# define MAX_MEM_LEVEL 8
38# define MAX_MEM_LEVEL 9 38# else
39# define MAX_MEM_LEVEL 9
40# endif
41#endif
42
43#ifndef MAX_WBITS
44# define MAX_WBITS 15 /* 32K LZ77 window */
39#endif 45#endif
40 46
41 /* Type declarations */ 47 /* Type declarations */
@@ -52,7 +58,7 @@
52 typedef unsigned char Byte; /* 8 bits */ 58 typedef unsigned char Byte; /* 8 bits */
53#endif 59#endif
54#ifndef uInt 60#ifndef uInt
55 typedef unsigned int uInt; /* may be 16 or 32 bits */ 61 typedef unsigned int uInt; /* 16 bits or more */
56#endif 62#endif
57#ifndef uLong 63#ifndef uLong
58 typedef unsigned long uLong; /* 32 bits or more */ 64 typedef unsigned long uLong; /* 32 bits or more */