summaryrefslogtreecommitdiff
path: root/boost/context/detail/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/context/detail/config.hpp')
-rw-r--r--boost/context/detail/config.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/context/detail/config.hpp b/boost/context/detail/config.hpp
index 15d03574b1..b0b03c14ec 100644
--- a/boost/context/detail/config.hpp
+++ b/boost/context/detail/config.hpp
@@ -115,4 +115,13 @@ static constexpr std::size_t cacheline_length{ 64 };
static constexpr std::size_t prefetch_stride{ 4 * cacheline_length };
#endif
+#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
+// GNU libstdc++ 3
+# define BOOST_CONTEXT_HAS_CXXABI_H
+#endif
+
+#if defined( BOOST_CONTEXT_HAS_CXXABI_H )
+# include <cxxabi.h>
+#endif
+
#endif // BOOST_CONTEXT_DETAIL_CONFIG_H