diff --git a/test/testing_crossmodule.cpp b/test/testing_crossmodule.cpp index 25ff508..d2c8127 100644 --- a/test/testing_crossmodule.cpp +++ b/test/testing_crossmodule.cpp @@ -41,7 +41,7 @@ void comparing_types_between_modules() BOOST_TEST_NE(t_int, test_lib::get_user_defined_class()); BOOST_TEST_NE(t_const_int, test_lib::get_const_user_defined_class()); - #ifndef BOOST_HAS_PRAGMA_DETECT_MISMATCH + #if !defined(BOOST_HAS_PRAGMA_DETECT_MISMATCH) || !defined(_CPPRTTI) test_lib::accept_typeindex(t_int); #endif }