artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1270245
)
sync with upstream (noop for openbsd)
author
tb
<tb@openbsd.org>
Mon, 5 Aug 2024 09:43:07 +0000
(09:43 +0000)
committer
tb
<tb@openbsd.org>
Mon, 5 Aug 2024 09:43:07 +0000
(09:43 +0000)
lib/libz/zutil.h
patch
|
blob
|
history
diff --git
a/lib/libz/zutil.h
b/lib/libz/zutil.h
index
3b186ef
..
c8b22a9
100644
(file)
--- a/
lib/libz/zutil.h
+++ b/
lib/libz/zutil.h
@@
-50,6
+50,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