Restore gzgetc_ for backward compatibility with 1.2.6.

This commit is contained in:
Mark Adler
2012-02-18 14:10:20 -08:00
parent 6838df9246
commit d81e7213b7
11 changed files with 23 additions and 0 deletions

1
zlib.h
View File

@@ -1649,6 +1649,7 @@ struct gzFile_s {
unsigned char *next;
z_off64_t pos;
};
ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */
#ifdef Z_PREFIX_SET
# undef z_gzgetc
# define z_gzgetc(g) \