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: upstream/1.2.8~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a181356bdbde946a2a9f15d33578b88ef5f3443;p=platform%2Fupstream%2Fzlib.git Fix gzgetc undefine when Z_PREFIX set [Turk]. --- diff --git a/gzread.c b/gzread.c index 3493d34..8ace830 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; {