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