projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.72.0
[platform/upstream/boost.git]
/
boost
/
context
/
detail
/
config.hpp
diff --git
a/boost/context/detail/config.hpp
b/boost/context/detail/config.hpp
index
b0b03c1
..
dbce9a0
100644
(file)
--- a/
boost/context/detail/config.hpp
+++ b/
boost/context/detail/config.hpp
@@
-124,4
+124,9
@@
static constexpr std::size_t prefetch_stride{ 4 * cacheline_length };
# 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