sync with base
authortb <tb@openbsd.org>
Mon, 5 Aug 2024 09:43:26 +0000 (09:43 +0000)
committertb <tb@openbsd.org>
Mon, 5 Aug 2024 09:43:26 +0000 (09:43 +0000)
sys/lib/libz/zutil.h

index 884d417..ded8beb 100644 (file)
@@ -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