Compile the gzopen_w() function when __CYGWIN__ defined.

This commit is contained in:
Mark Adler
2015-08-01 17:38:56 -07:00
parent 2fc6d66797
commit b4ce6caf09
3 changed files with 9 additions and 5 deletions

2
zlib.h
View File

@@ -1757,7 +1757,7 @@ ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
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)
#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(Z_SOLO)
ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path,
const char *mode));
#endif