diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2017-01-16 09:38:36 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2017-01-16 09:38:36 -0800 |
| commit | 5ff989033e8b839b80ce716a1452acf7664e2ff4 (patch) | |
| tree | 632736d55406f229c191dd60ad8efa7c3788aa7f | |
| parent | 7d60b86782f96854974fdec6f17cb95cfaf020a6 (diff) | |
| download | zlib-5ff989033e8b839b80ce716a1452acf7664e2ff4.tar.gz zlib-5ff989033e8b839b80ce716a1452acf7664e2ff4.tar.bz2 zlib-5ff989033e8b839b80ce716a1452acf7664e2ff4.zip | |
Cygwin does not have _wopen(), so do not create gzopen_w() there.
| -rw-r--r-- | gzguts.h | 2 | ||||
| -rw-r--r-- | zlib.h | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -39,7 +39,7 @@ | |||
| 39 | # include <io.h> | 39 | # include <io.h> |
| 40 | #endif | 40 | #endif |
| 41 | 41 | ||
| 42 | #if defined(_WIN32) || defined(__CYGWIN__) | 42 | #if defined(_WIN32) |
| 43 | # define WIDECHAR | 43 | # define WIDECHAR |
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| @@ -1893,7 +1893,7 @@ ZEXTERN int ZEXPORT inflateValidate OF((z_streamp, int)); | |||
| 1893 | ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF ((z_streamp)); | 1893 | ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF ((z_streamp)); |
| 1894 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); | 1894 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); |
| 1895 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); | 1895 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); |
| 1896 | #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(Z_SOLO) | 1896 | #if defined(_WIN32) && !defined(Z_SOLO) |
| 1897 | ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path, | 1897 | ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path, |
| 1898 | const char *mode)); | 1898 | const char *mode)); |
| 1899 | #endif | 1899 | #endif |
