Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h.
This commit is contained in:
parent
4cacc3562b
commit
545f194963
2
zutil.h
2
zutil.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user