Fix gzgetc undefine when Z_PREFIX set [Turk].

This commit is contained in:
Mark Adler 2012-05-17 21:13:23 -07:00
parent 3a8e3bd9e5
commit 6a181356bd

View File

@ -378,7 +378,11 @@ int ZEXPORT gzread(file, buf, len)
} }
/* -- see zlib.h -- */ /* -- see zlib.h -- */
#undef gzgetc #ifdef Z_PREFIX_SET
# undef z_gzgetc
#else
# undef gzgetc
#endif
int ZEXPORT gzgetc(file) int ZEXPORT gzgetc(file)
gzFile file; gzFile file;
{ {