artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2afb3c1
)
libz: more windows ifdef turd shining from upstream
author
tb
<tb@openbsd.org>
Sun, 11 Feb 2024 08:40:06 +0000
(08:40 +0000)
committer
tb
<tb@openbsd.org>
Sun, 11 Feb 2024 08:40:06 +0000
(08:40 +0000)
lib/libz/zconf.h
patch
|
blob
|
history
diff --git
a/lib/libz/zconf.h
b/lib/libz/zconf.h
index
41bb55f
..
30cb9a7
100644
(file)
--- 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