From ce172f356b094a99c9f123bd2b7d9f2d4a9750b7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 23 May 2003 11:44:57 +0000 Subject: [PATCH] Added check for BOOST_DISABLE_WIN32 [SVN r18510] --- test/is_polymorphic_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/is_polymorphic_test.cpp b/test/is_polymorphic_test.cpp index da1abe3..dffdc1f 100644 --- a/test/is_polymorphic_test.cpp +++ b/test/is_polymorphic_test.cpp @@ -11,7 +11,7 @@ #include #include -#if defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64) +#if (defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)) && !defined(BOOST_DISABLE_WIN32) #include // more things to test #endif @@ -59,7 +59,7 @@ 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) +#if (defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)) && !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);