aboutsummaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-06-18 09:37:44 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-06-18 09:37:44 -0400
commitb0f49e3fd776bd64d55c76f001f353c1327d3001 (patch)
treeb0476df03b511bc6c47388d1132c8a8f093a32b9 /zlib
parent978588dc5854b02dc24e0eed18741415176753d8 (diff)
downloadfsf-binutils-gdb-b0f49e3fd776bd64d55c76f001f353c1327d3001.zip
fsf-binutils-gdb-b0f49e3fd776bd64d55c76f001f353c1327d3001.tar.gz
fsf-binutils-gdb-b0f49e3fd776bd64d55c76f001f353c1327d3001.tar.bz2
zlib: Sync with GCC
zlib/ChangeLog.bin-gdb: Sync with FSF GCC sources.
Diffstat (limited to 'zlib')
-rw-r--r--zlib/ChangeLog.bin-gdb4
-rw-r--r--zlib/ChangeLog.gcj7
-rw-r--r--zlib/gzguts.h2
-rw-r--r--zlib/win32/zlib.def1
-rw-r--r--zlib/zlib.h2
5 files changed, 13 insertions, 3 deletions
diff --git a/zlib/ChangeLog.bin-gdb b/zlib/ChangeLog.bin-gdb
index 0b4fd14..eb66f04 100644
--- a/zlib/ChangeLog.bin-gdb
+++ b/zlib/ChangeLog.bin-gdb
@@ -1,3 +1,7 @@
+2018-06-18 Simon Marchi <simon.marchi@ericsson.com>
+
+ Sync with FSF GCC sources.
+
2017-02-20 Nick Clifton <nickc@redhat.com>
Sync with FSF GCC sources, bringing in version 1.2.11.
diff --git a/zlib/ChangeLog.gcj b/zlib/ChangeLog.gcj
index 4792811..09bc9c2 100644
--- a/zlib/ChangeLog.gcj
+++ b/zlib/ChangeLog.gcj
@@ -1,3 +1,10 @@
+2017-03-15 Yaakov Selkowitz <yselkowitz@redhat.com>
+
+ PR bootstrap/79771
+ * gzguts.h (WIDECHAR): Do not define for __CYGWIN__.
+ * zlib.h (gzopen_w): Do not declare for __CYGWIN__.
+ * win32/zlib.def: Remove gzopen_w.
+
2017-01-22 Matthias Klose <doko@ubuntu.com>
* Import zlib 1.2.11.
diff --git a/zlib/gzguts.h b/zlib/gzguts.h
index 990a4d2..6378d46 100644
--- a/zlib/gzguts.h
+++ b/zlib/gzguts.h
@@ -39,7 +39,7 @@
# include <io.h>
#endif
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32)
# define WIDECHAR
#endif
diff --git a/zlib/win32/zlib.def b/zlib/win32/zlib.def
index 784b138..0cb3f5d 100644
--- a/zlib/win32/zlib.def
+++ b/zlib/win32/zlib.def
@@ -91,4 +91,3 @@ EXPORTS
inflateCodesUsed
inflateResetKeep
deflateResetKeep
- gzopen_w
diff --git a/zlib/zlib.h b/zlib/zlib.h
index f09cdaf..49dfcec 100644
--- a/zlib/zlib.h
+++ b/zlib/zlib.h
@@ -1893,7 +1893,7 @@ ZEXTERN int ZEXPORT inflateValidate OF((z_streamp, int));
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