From: tb Date: Mon, 5 Aug 2024 09:43:07 +0000 (+0000) Subject: sync with upstream (noop for openbsd) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=45fb58c62353861d83a573833974e8f573a1056f;p=openbsd sync with upstream (noop for openbsd) --- 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