diff options
Diffstat (limited to 'example.c')
-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 | /* =========================================================================== |