From 16e64e56d0b23b9b9c3c962e2e47f081748a6246 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 11 Feb 2024 08:40:06 +0000 Subject: [PATCH] libz: more windows ifdef turd shining from upstream --- lib/libz/zconf.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/libz/zconf.h b/lib/libz/zconf.h index 41bb55f30dd..30cb9a7b608 100644 --- a/lib/libz/zconf.h +++ b/lib/libz/zconf.h @@ -468,12 +468,8 @@ typedef uLong FAR uLongf; #endif #ifndef Z_HAVE_UNISTD_H -# ifdef __WATCOMC__ -# define Z_HAVE_UNISTD_H -# endif -#endif -#ifndef Z_HAVE_UNISTD_H -# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32) +# if defined(__WATCOMC__) || defined(__GO32__) || \ + (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)) # define Z_HAVE_UNISTD_H # endif #endif -- 2.20.1