From: tb Date: Mon, 5 Aug 2024 09:43:26 +0000 (+0000) Subject: sync with base X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2adb8ed06779f1007f0822fa5e0c49e00f3680c3;p=openbsd sync with base --- diff --git a/sys/lib/libz/zutil.h b/sys/lib/libz/zutil.h index 884d4178567..ded8bebebe2 100644 --- a/sys/lib/libz/zutil.h +++ b/sys/lib/libz/zutil.h @@ -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