From 33437e724ef1f4b6c316bac7502dfb7f29f4fdb3 Mon Sep 17 00:00:00 2001 From: Michel Morin Date: Fri, 30 Mar 2012 12:51:49 +0000 Subject: [PATCH] Avoid redefinition of BOOST_NO_EXCEPTIONS; fixes #6740 [SVN r77643] --- include/boost/config/compiler/clang.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 036eadc3..8c82f67b 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -8,8 +8,7 @@ // Clang compiler setup. -#if __has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) -#else +#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) # define BOOST_NO_EXCEPTIONS #endif