From cca5aa5395ee51cf405e5bb2108eb37e99af12df Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 3 Jun 2014 02:24:16 +0300 Subject: [PATCH] Revert "Exception: Remove obsolete MSVC version check." This reverts commit ec6bce5618096273ffcf1300f63cfcd570c616a7. --- include/boost/throw_exception.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index d11e368..5579a2d 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -35,6 +35,10 @@ # define BOOST_EXCEPTION_DISABLE #endif +#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1310 ) +# define BOOST_EXCEPTION_DISABLE +#endif + #if !defined( BOOST_EXCEPTION_DISABLE ) # include #if !defined(BOOST_THROW_EXCEPTION_CURRENT_FUNCTION)