diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index 6555763..dc468f2 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -24,6 +24,10 @@ #include #include +#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( BOOST_NO_TYPEID ) +# define BOOST_EXCEPTION_DISABLE +#endif + #if !defined( BOOST_EXCEPTION_DISABLE ) && defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, < 0x590 ) # define BOOST_EXCEPTION_DISABLE #endif