diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:07:35 -0700 |
commit | 1c71d8b13b54f91ddec361d3053ecce26e6ff761 (patch) | |
tree | 84f806bb79cc8c7458ddbd7b5402dbf1eec76dd4 /zutil.h | |
parent | 64b2e892035cf6ea98800c54dce0d63730d50272 (diff) | |
download | zlib-0.91.tar.gz zlib-0.91.tar.bz2 zlib-0.91.zip |
zlib 0.91v0.91
Diffstat (limited to '')
-rw-r--r-- | zutil.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |