forked from boostorg/integer
check for ULONG_LONG_MAX as well (supports gcc)
[SVN r7862]
This commit is contained in:
1 parent
d0b9d43e9b
commit
99eff7e1bb
1 file changed
+3
-2
@@ -200,8 +200,9 @@ Added 23rd September (John Maddock).
|
|||||||
|
|
||||||
// 64-bit types + intmax_t and uintmax_t -----------------------------------//
|
// 64-bit types + intmax_t and uintmax_t -----------------------------------//
|
||||||
|
|
||||||
# if defined(ULLONG_MAX)
|
# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX)) && !(defined(_WIN32) && defined(__GNUC__))
|
||||||
# if ULLONG_MAX == 18446744073709551615 // 2**64 - 1
|
# if(defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615) || \
|
||||||
|
(defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615)
|
||||||
#define INT64_C(value) value##LL
|
#define INT64_C(value) value##LL
|
||||||
#define UINT64_C(value) value##uLL
|
#define UINT64_C(value) value##uLL
|
||||||
# else
|
# else
|
||||||
|
|||||||
Reference in new issue
Block a user