2 // Copyright Oliver Kowalke 2014.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_FIBERS_SEGMENTED_STACK_H
8 #define BOOST_FIBERS_SEGMENTED_STACK_H
10 #include <boost/config.hpp>
11 #include <boost/context/segmented_stack.hpp>
13 #include <boost/fiber/detail/config.hpp>
15 #ifdef BOOST_HAS_ABI_HEADERS
16 # include BOOST_ABI_PREFIX
22 #if defined(BOOST_USE_SEGMENTED_STACKS)
23 # if ! defined(BOOST_WINDOWS)
24 using segmented_stack = boost::context::segmented_stack;
25 using default_stack = boost::context::default_stack;
31 #ifdef BOOST_HAS_ABI_HEADERS
32 # include BOOST_ABI_SUFFIX
35 #endif // BOOST_FIBERS_SEGMENTED_STACK_H