Fixes so that long long is recognized for GCC.

[SVN r8706]
This commit is contained in:
Dave Abrahams
2001-01-22 05:06:37 +00:00
parent 21ee723419
commit a22a9a3d80

View File

@ -132,9 +132,9 @@ namespace boost
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
# 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)
# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX))
# if(defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615U) || \
(defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615U)
// 2**64 - 1
typedef long long intmax_t;
typedef unsigned long long uintmax_t;