mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Added support for gabi++ ABI implementation used in Android NDK.
This commit is contained in:
@ -27,8 +27,15 @@
|
|||||||
|
|
||||||
#if defined( BOOST_CORE_HAS_CXXABI_H )
|
#if defined( BOOST_CORE_HAS_CXXABI_H )
|
||||||
# include <cxxabi.h>
|
# include <cxxabi.h>
|
||||||
# include <cstdlib>
|
// For some archtectures (mips, mips64, x86, x86_64) cxxabi.h in Android NDK is implemented by gabi++ library
|
||||||
# include <cstddef>
|
// (https://android.googlesource.com/platform/ndk/+/master/sources/cxx-stl/gabi++/), which does not implement
|
||||||
|
// abi::__cxa_demangle(). We detect this implementation by checking the include guard here.
|
||||||
|
# if defined( __GABIXX_CXXABI_H__ )
|
||||||
|
# undef BOOST_CORE_HAS_CXXABI_H
|
||||||
|
# else
|
||||||
|
# include <cstdlib>
|
||||||
|
# include <cstddef>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
|
Reference in New Issue
Block a user