Fix gzopen_w() type and add #include for the type.

This commit is contained in:
Mark Adler
2012-03-17 21:42:30 -07:00
parent 2c42538c2e
commit a1af6e96e3
3 changed files with 6 additions and 2 deletions

2
zlib.h
View File

@@ -1733,7 +1733,7 @@ ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int));
ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp));
ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp));
#if defined(_WIN32) && !defined(Z_SOLO)
ZEXTERN gzFile ZEXPORT gzopen_w OF((const w_char *path,
ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path,
const char *mode));
#endif