artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45fb58c
)
sync with base
author
tb
<tb@openbsd.org>
Mon, 5 Aug 2024 09:43:26 +0000
(09:43 +0000)
committer
tb
<tb@openbsd.org>
Mon, 5 Aug 2024 09:43:26 +0000
(09:43 +0000)
sys/lib/libz/zutil.h
patch
|
blob
|
history
diff --git
a/sys/lib/libz/zutil.h
b/sys/lib/libz/zutil.h
index
884d417
..
ded8beb
100644
(file)
--- a/
sys/lib/libz/zutil.h
+++ b/
sys/lib/libz/zutil.h
@@
-63,6
+63,8
@@
typedef unsigned long ulg;
# define Z_U8 unsigned long
# elif (ULLONG_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned long long
+# elif (ULONG_LONG_MAX == 0xffffffffffffffff)
+# define Z_U8 unsigned long long
# elif (UINT_MAX == 0xffffffffffffffff)
# define Z_U8 unsigned
# endif