From f81ba93d4a7e43fccf4730e5e7404ee765a76e3e Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:22:48 -0700 Subject: zlib 1.2.0.6 --- example.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example.c') 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) Byte *uncompr; uLong uncomprLen; { +#ifdef NO_GZCOMPRESS + fprintf(stderr, "NO_GZCOMPRESS -- gz* functions cannot compress\n"); +#else int err; int len = (int)strlen(hello)+1; gzFile file; @@ -159,6 +162,7 @@ void test_gzio(fname, uncompr, uncomprLen) } gzclose(file); +#endif } /* =========================================================================== -- cgit v1.2.3-55-g6feb