Skip to content

Commit

Permalink
Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Aug 1, 2024
1 parent 4cacc35 commit 545f194
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 545f194

Please sign in to comment.