From b0d97aeea5fae4e4bb2e9199bf8e267f7b2c3f8f Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 26 May 2022 11:07:35 -0400 Subject: zlib: Use unistd.h on all non-Windows platforms Replace the `HAVE_UNISTD_H` change from commit 3edcd70754 (ENH: Update zlib to 1.2.3, 2007-09-11, v2.6.0~1135) with simpler logic. --- Utilities/cmzlib/zconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/cmzlib/zconf.h b/Utilities/cmzlib/zconf.h index 03a9431..6e12b90 100644 --- a/Utilities/cmzlib/zconf.h +++ b/Utilities/cmzlib/zconf.h @@ -284,7 +284,7 @@ typedef uLong FAR uLongf; typedef Byte *voidp; #endif -#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */ +#if !defined(_WIN32) # include /* for off_t */ # include /* for SEEK_* and off_t */ # ifdef VMS -- cgit v0.12