From 1c7875b8f3e94232a0c7162ebe2d04144ef08d28 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 3 Apr 2002 10:29:32 +0000 Subject: [PATCH] Replace BOOST_NO_EXCEPTIONS support which had got lost in the last checkin. [SVN r13355] --- include/boost/config/compiler/visualc.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 0dcd40b8..0789e853 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -60,6 +60,13 @@ # define BOOST_NO_INTRINSIC_WCHAR_T #endif +// +// check for exception handling support: +#ifndef _CPPUNWIND +# define BOOST_NO_EXCEPTIONS +#endif + + #define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(_MSC_VER) // @@ -78,3 +85,4 @@ # endif #endif +