summaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/zutil.h b/zutil.h
index a4b00a0..503a445 100644
--- a/zutil.h
+++ b/zutil.h
@@ -8,7 +8,7 @@
8 subject to change. Applications should only use zlib.h. 8 subject to change. Applications should only use zlib.h.
9 */ 9 */
10 10
11/* $Id: zutil.h,v 1.7 1995/04/30 10:55:33 jloup Exp $ */ 11/* $Id: zutil.h,v 1.8 1995/05/02 15:44:46 jloup Exp $ */
12 12
13#ifndef _Z_UTIL_H 13#ifndef _Z_UTIL_H
14#define _Z_UTIL_H 14#define _Z_UTIL_H
@@ -17,6 +17,7 @@
17 17
18#ifdef MSDOS 18#ifdef MSDOS
19# include <stddef.h> 19# include <stddef.h>
20# include <errno.h>
20#else 21#else
21 extern int errno; 22 extern int errno;
22#endif 23#endif
@@ -43,7 +44,14 @@ extern char *z_errmsg[]; /* indexed by 1-zlib_error */
43#define DEFLATED 8 44#define DEFLATED 8
44 45
45#define DEF_WBITS 15 46#define DEF_WBITS 15
46/* default WBITS for decompression. MAX_WBITS is useful for compression only */ 47/* default windowBits for decompression. MAX_WBITS is for compression only */
48
49#if MAX_MEM_LEVEL >= 8
50# define DEF_MEM_LEVEL 8
51#else
52# define DEF_MEM_LEVEL MAX_MEM_LEVEL
53#endif
54/* default memLevel */
47 55
48#define STORED_BLOCK 0 56#define STORED_BLOCK 0
49#define STATIC_TREES 1 57#define STATIC_TREES 1