summaryrefslogtreecommitdiff
path: root/lib/libz/zutil.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-08-05 09:43:08 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-08-05 09:43:08 +0000
commit17e8adab02854c846d55499736426d853a12a5b5 (patch)
tree9a6ce436912d2fbb4b4b812b20f44e7201be705f /lib/libz/zutil.h
parenta182efef089bd706a13aa81946696320458b3439 (diff)
sync with upstream (noop for openbsd)
Diffstat (limited to 'lib/libz/zutil.h')
-rw-r--r--lib/libz/zutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h
index 3b186ef9efc..c8b22a9b3b0 100644
--- 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