diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-11 08:40:07 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-11 08:40:07 +0000 |
commit | 881244bbae69e10ed8bc161259f2dc7c61ec031f (patch) | |
tree | 48a70558def1b55f9b6f7dc55d935fbb340e3738 /lib/libz | |
parent | 9581980b2214bef3879472f1de26c946e1bd9a42 (diff) |
libz: more windows ifdef turd shining from upstream
Diffstat (limited to 'lib/libz')
-rw-r--r-- | lib/libz/zconf.h | 8 |
1 files 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 |