check for ULONG_LONG_MAX as well (supports gcc)

[SVN r7862]
This commit is contained in:
Jens Maurer
2000-09-27 21:43:54 +00:00
parent d0b9d43e9b
commit 99eff7e1bb

View File

@ -200,8 +200,9 @@ Added 23rd September (John Maddock).
// 64-bit types + intmax_t and uintmax_t -----------------------------------//
# if defined(ULLONG_MAX)
# if ULLONG_MAX == 18446744073709551615 // 2**64 - 1
# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX)) && !(defined(_WIN32) && defined(__GNUC__))
# if(defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615) || \
(defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615)
#define INT64_C(value) value##LL
#define UINT64_C(value) value##uLL
# else