From 29b0b87b6a01782c6f9f11b2fb167933701c3d35 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 3 Jun 2014 02:16:08 +0300 Subject: [PATCH] Revert "Exception: Remove obsolete MSVC version check." This reverts commit 73687f1f0f5a8762bb38d8dad4c25e0934105214. --- 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)