]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/context/detail/config.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / context / detail / config.hpp
index 15d03574b189b14822e174c4269652a63290e62b..dbce9a0989bb19ce32095c17e01fd168c87c2c8b 100644 (file)
@@ -115,4 +115,18 @@ 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
+
+#if defined(__OpenBSD__)
+// stacks need mmap(2) with MAP_STACK
+# define BOOST_CONTEXT_USE_MAP_STACK
+#endif
+
 #endif // BOOST_CONTEXT_DETAIL_CONFIG_H