From 45fb58c62353861d83a573833974e8f573a1056f Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 5 Aug 2024 09:43:07 +0000 Subject: [PATCH] sync with upstream (noop for openbsd) --- lib/libz/zutil.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1