diff options
Diffstat (limited to 'boost/type_index.hpp')
-rw-r--r-- | boost/type_index.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/type_index.hpp b/boost/type_index.hpp index fe10b4e1c..dce89d81d 100644 --- a/boost/type_index.hpp +++ b/boost/type_index.hpp @@ -27,7 +27,7 @@ # endif #elif (!defined(BOOST_NO_RTTI) && !defined(BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY)) || defined(BOOST_MSVC) # include <boost/type_index/stl_type_index.hpp> -# ifdef BOOST_NO_RTTI +# if defined(BOOST_NO_RTTI) || defined(BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY) # include <boost/type_index/detail/stl_register_class.hpp> # ifdef BOOST_HAS_PRAGMA_DETECT_MISMATCH # pragma detect_mismatch( "boost__type_index__abi", "RTTI is off - typeid() is used only for templates") |