diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-05 00:14:27 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-05 00:14:27 -0600 |
commit | d9f6309f7dc32d532073f32d215342cffd844a0e (patch) | |
tree | 0258437582c6802764bdbf7706fa4155aa625fe9 /zlib-1.2.11-gzopen_w.patch | |
parent | cc3009e613f3e2c64bd047be05f8332c6042853d (diff) | |
download | cygwin-zlib-d9f6309f7dc32d532073f32d215342cffd844a0e.tar.gz cygwin-zlib-d9f6309f7dc32d532073f32d215342cffd844a0e.tar.xz cygwin-zlib-d9f6309f7dc32d532073f32d215342cffd844a0e.zip |
cygwin-zlib 1.2.11
Diffstat (limited to 'zlib-1.2.11-gzopen_w.patch')
-rw-r--r-- | zlib-1.2.11-gzopen_w.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/zlib-1.2.11-gzopen_w.patch b/zlib-1.2.11-gzopen_w.patch new file mode 100644 index 0000000..2073635 --- /dev/null +++ b/zlib-1.2.11-gzopen_w.patch @@ -0,0 +1,29 @@ +--- origsrc/zlib-1.2.11/gzguts.h 2017-01-01 01:37:10.000000000 -0600 ++++ src/zlib-1.2.11/gzguts.h 2017-03-03 15:38:57.326064400 -0600 +@@ -39,7 +39,7 @@ + # include <io.h> + #endif + +-#if defined(_WIN32) || defined(__CYGWIN__) ++#if defined(_WIN32) + # define WIDECHAR + #endif + +--- origsrc/zlib-1.2.11/win32/zlib.def 2017-01-01 01:37:10.000000000 -0600 ++++ src/zlib-1.2.11/win32/zlib.def 2017-03-03 15:41:32.326386500 -0600 +@@ -91,4 +91,3 @@ EXPORTS + inflateCodesUsed
+ inflateResetKeep
+ deflateResetKeep
+- gzopen_w
+--- origsrc/zlib-1.2.11/zlib.h 2017-01-15 11:29:40.000000000 -0600 ++++ src/zlib-1.2.11/zlib.h 2017-03-03 15:37:21.402184600 -0600 +@@ -1893,7 +1893,7 @@ ZEXTERN int ZEXPORT inflateVa + ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF ((z_streamp)); + ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); + ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); +-#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(Z_SOLO) ++#if defined(_WIN32) && !defined(Z_SOLO) + ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path, + const char *mode)); + #endif |