Skip to content

Commit

Permalink
extern: workaround zlib issue on cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jun 15, 2018
1 parent 1fe5cef commit cdfc877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extern/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
2 changes: 1 addition & 1 deletion extern/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 cdfc877

Please sign in to comment.