diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:48 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:48 -0700 |
commit | f81ba93d4a7e43fccf4730e5e7404ee765a76e3e (patch) | |
tree | 1f130d999e06b2d572bce1f99eaeaadd329a7ae7 /example.c | |
parent | 4b5a43a219d51066c01ff2ab86af18b967f2d0dd (diff) | |
download | zlib-1.2.0.6.tar.gz zlib-1.2.0.6.tar.bz2 zlib-1.2.0.6.zip |
zlib 1.2.0.6v1.2.0.6
Diffstat (limited to '')
-rw-r--r-- | example.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -89,6 +89,9 @@ void test_gzio(fname, uncompr, uncomprLen) | |||
89 | Byte *uncompr; | 89 | Byte *uncompr; |
90 | uLong uncomprLen; | 90 | uLong uncomprLen; |
91 | { | 91 | { |
92 | #ifdef NO_GZCOMPRESS | ||
93 | fprintf(stderr, "NO_GZCOMPRESS -- gz* functions cannot compress\n"); | ||
94 | #else | ||
92 | int err; | 95 | int err; |
93 | int len = (int)strlen(hello)+1; | 96 | int len = (int)strlen(hello)+1; |
94 | gzFile file; | 97 | gzFile file; |
@@ -159,6 +162,7 @@ void test_gzio(fname, uncompr, uncomprLen) | |||
159 | } | 162 | } |
160 | 163 | ||
161 | gzclose(file); | 164 | gzclose(file); |
165 | #endif | ||
162 | } | 166 | } |
163 | 167 | ||
164 | /* =========================================================================== | 168 | /* =========================================================================== |