mirror of
https://github.com/boostorg/core.git
synced 2025-08-15 13:31:10 +02:00
Enable demangling on clang with libc++.
This commit is contained in:
@@ -18,11 +18,18 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if defined(__GLIBCXX__) || defined(__GLIBCPP__)
|
#if defined( __clang__ ) && defined( __has_include )
|
||||||
|
# if __has_include(<cxxabi.h>)
|
||||||
|
# define BOOST_CORE_HAS_CXXABI_H
|
||||||
|
# endif
|
||||||
|
#elif defined( __GLIBCXX__ ) || defined( __GLIBCPP__ )
|
||||||
|
# define BOOST_CORE_HAS_CXXABI_H
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( BOOST_CORE_HAS_CXXABI_H )
|
||||||
# include <cxxabi.h>
|
# include <cxxabi.h>
|
||||||
# include <cstdlib>
|
# include <cstdlib>
|
||||||
# include <cstddef>
|
# include <cstddef>
|
||||||
# define BOOST_CORE_HAS_CXXABI_H
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
|
Reference in New Issue
Block a user