From 3de4d572e9825ec8862a51316ec9ade3dc2696a2 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 24 Sep 2002 11:40:08 +0000 Subject: [PATCH] Tidied up macro checks, now works with .NET2003 [SVN r15493] --- integer_traits_test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integer_traits_test.cpp b/integer_traits_test.cpp index 1548bdc..8fafe88 100644 --- a/integer_traits_test.cpp +++ b/integer_traits_test.cpp @@ -83,10 +83,11 @@ int test_main(int, char*[]) runtest("long", long()); typedef unsigned long unsigned_long; runtest("unsigned long", unsigned_long()); -#if !defined(BOOST_NO_INT64_T) && (!defined(BOOST_MSVC) || BOOST_MSVC > 1300) && !defined(__BORLANDC__) && !defined(__BEOS__) +#if !defined(BOOST_NO_INTEGRAL_INT64_T) && !defined(BOOST_NO_INT64_T) + // + // Only test for compilers that have 64-bit int's that + // can be used in integral constant expressions: // - // MS/Borland compilers can't support 64-bit member constants - // BeOS doesn't have specialisations for long long in SGI's header. runtest("int64_t (possibly long long)", boost::int64_t()); runtest("uint64_t (possibly unsigned long long)", boost::uint64_t()); #else