]> git.lizzy.rs Git - zlib.git/blobdiff - zlib.h
Cygwin does not have _wopen(), so do not create gzopen_w() there.
[zlib.git] / zlib.h
diff --git a/zlib.h b/zlib.h
index 21636c257a174e8160dc70da0db119997c5cfe30..5daf4f2830df948740d129f863ea9f526e5f08a9 100644 (file)
--- a/zlib.h
+++ b/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