Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h.

This commit is contained in:
Mark Adler 2024-07-31 14:02:44 -07:00
parent 4cacc3562b
commit 545f194963

View File

@ -48,6 +48,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