Project revived from Feb2017
[EroSomnia.git] / deps / boost_1_63_0 / boost / fiber / segmented_stack.hpp
blob868ddf4acd680044c7874f827befd5e0726ecef1
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
17 #endif
19 namespace boost {
20 namespace fibers {
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;
26 # endif
27 #endif
31 #ifdef BOOST_HAS_ABI_HEADERS
32 # include BOOST_ABI_SUFFIX
33 #endif
35 #endif // BOOST_FIBERS_SEGMENTED_STACK_H