Added check for BOOST_DISABLE_WIN32

[SVN r18510]
This commit is contained in:
John Maddock
2003-05-23 11:44:57 +00:00
parent fb5108780d
commit ce172f356b

View File

@ -11,7 +11,7 @@
#include <exception>
#include <stdexcept>
#if defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)
#if (defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)) && !defined(BOOST_DISABLE_WIN32)
#include <windows.h> // more things to test
#endif
@ -59,7 +59,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::runtime_error>::value, t
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::out_of_range>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::range_error>::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<IUnknown>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<ITypeInfo>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<ITypeComp>::value, true);