fix the "gcc 3.0 and long long" fix to check for the appropriate symbol

[SVN r10107]
This commit is contained in:
Jens Maurer
2001-05-13 18:17:15 +00:00
parent 28ec7fa76c
commit 645f809379

View File

@ -144,11 +144,8 @@ namespace boost
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
// GCC 3.0 supports "long long" and has the proper defines. However, the
// library shipped with GCC 3.0 doesn't have operator<<(ostream&, long long).
// For now, disable "long long" here.
# if !defined(BOOST_MSVC) && !defined(__BORLANDC__) && \
!(defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && defined(__GLIBCPP__)) && \
(!defined(__GLIBCPP__) || defined(_GLIBCPP_USE_LONG_LONG)) && \
(defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# if (defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615U) || (defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615U) || (defined(ULONGLONG_MAX) && ULONGLONG_MAX == 18446744073709551615U)
// 2**64 - 1