Skip to content

Commit

Permalink
2017-03-15 Yaakov Selkowitz <yselkowitz@redhat.com>
Browse files Browse the repository at this point in the history
	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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246152 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
law committed Mar 15, 2017
1 parent 63e30ce commit 1cda84c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions zlib/ChangeLog.gcj
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion zlib/gzguts.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# include <io.h>
#endif

#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32)
# define WIDECHAR
#endif

Expand Down
1 change: 0 additions & 1 deletion zlib/win32/zlib.def
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,3 @@ EXPORTS
inflateCodesUsed
inflateResetKeep
deflateResetKeep
gzopen_w
2 changes: 1 addition & 1 deletion zlib/zlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1cda84c

Please sign in to comment.