summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'example.c')
-rw-r--r--example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/example.c b/example.c
index 2acc099..c2361f9 100644
--- a/example.c
+++ b/example.c
@@ -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/* ===========================================================================