From 5ffd47553f55e5a3c542c88328efa7b4f5326bb0 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 3 May 2008 15:33:06 +0000 Subject: [PATCH] Fixes for old compilers. [SVN r45069] --- include/boost/throw_exception.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index 06194b8..1a57675 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -21,6 +21,15 @@ // #include +#include + +#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, <= 0x551 ) +# define BOOST_EXCEPTION_DISABLE +#endif + +#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1310 ) +# define BOOST_EXCEPTION_DISABLE +#endif #ifdef BOOST_NO_EXCEPTIONS # include