|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84353 - trunk/boost/log/detail
From: andrey.semashev_at_[hidden]
Date: 2013-05-18 10:25:01
Author: andysem
Date: 2013-05-18 10:25:01 EDT (Sat, 18 May 2013)
New Revision: 84353
URL: http://svn.boost.org/trac/boost/changeset/84353
Log:
Made a more thorough check for cxxabi.h presence in case of clang.
Text files modified:
trunk/boost/log/detail/config.hpp | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Modified: trunk/boost/log/detail/config.hpp
==============================================================================
--- trunk/boost/log/detail/config.hpp (original)
+++ trunk/boost/log/detail/config.hpp 2013-05-18 10:25:01 EDT (Sat, 18 May 2013)
@@ -197,9 +197,13 @@
# define BOOST_LOG_NORETURN
#endif
-#if (defined(__CLANG__) || defined(__GNUC__)) && !defined(__QNX__)
-// The cxxabi.h is available
-#define BOOST_LOG_HAS_CXXABI_H
+// cxxabi.h availability macro
+#if defined(BOOST_CLANG)
+# if defined(__has_include) && __has_include(<cxxabi.h>)
+# define BOOST_LOG_HAS_CXXABI_H
+# endif
+#elif defined(__GNUC__) && !defined(__QNX__)
+# define BOOST_LOG_HAS_CXXABI_H
#endif
#if defined(BOOST_SYMBOL_VISIBLE)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk