From: Mark Adler Date: Fri, 18 May 2012 04:13:23 +0000 (-0700) Subject: Fix gzgetc undefine when Z_PREFIX set [Turk]. X-Git-Tag: v1.2.7.1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a181356bdbde946a2a9f15d33578b88ef5f3443;p=thirdparty%2Fzlib-ng.git Fix gzgetc undefine when Z_PREFIX set [Turk]. --- diff --git a/gzread.c b/gzread.c index 3493d34d4..8ace83027 100644 --- a/gzread.c +++ b/gzread.c @@ -378,7 +378,11 @@ int ZEXPORT gzread(file, buf, len) } /* -- see zlib.h -- */ -#undef gzgetc +#ifdef Z_PREFIX_SET +# undef z_gzgetc +#else +# undef gzgetc +#endif int ZEXPORT gzgetc(file) gzFile file; {