From 3cdf8c8ed23b6099080331f4eb23b24922ab014a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 26 Aug 2004 10:42:36 +0000 Subject: [PATCH] Fix for gcc on Win32. Tidied up macro/config usage. [SVN r24745] --- test/is_polymorphic_test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/is_polymorphic_test.cpp b/test/is_polymorphic_test.cpp index afa3e58..fa2b231 100644 --- a/test/is_polymorphic_test.cpp +++ b/test/is_polymorphic_test.cpp @@ -15,7 +15,7 @@ #include #include -#if (defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)) && !defined(BOOST_DISABLE_WIN32) +#if defined(BOOST_WINDOWS) && !defined(BOOST_DISABLE_WIN32) #include // more things to test #endif @@ -63,11 +63,10 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, t BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); -#if (defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)) && !defined(BOOST_DISABLE_WIN32) +#if defined(BOOST_WINDOWS) && !defined(BOOST_DISABLE_WIN32) BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); -BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic::value, true); #endif