summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/zlib/zconf.h')
-rw-r--r--src/3rdparty/zlib/zconf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/zlib/zconf.h b/src/3rdparty/zlib/zconf.h
index 0105ca4..806a51e 100644
--- a/src/3rdparty/zlib/zconf.h
+++ b/src/3rdparty/zlib/zconf.h
@@ -356,7 +356,7 @@ typedef uLong FAR uLongf;
typedef Byte *voidp;
#endif
-#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
+#if defined(HAVE_UNISTD_H) || !defined(WIN32)
# define Z_HAVE_UNISTD_H
#endif