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

View File

@@ -39,6 +39,10 @@
# include <io.h>
#endif
#if defined(_WIN32) || defined(__CYGWIN__)
# define WIDECHAR
#endif
#ifdef WINAPI_FAMILY
# define open _open
# define read _read