• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
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)
6 
7 #ifndef BOOST_FIBERS_SEGMENTED_STACK_H
8 #define BOOST_FIBERS_SEGMENTED_STACK_H
9 
10 #include <boost/config.hpp>
11 #include <boost/context/segmented_stack.hpp>
12 
13 #include <boost/fiber/detail/config.hpp>
14 
15 #ifdef BOOST_HAS_ABI_HEADERS
16 #  include BOOST_ABI_PREFIX
17 #endif
18 
19 namespace boost {
20 namespace fibers {
21 
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
28 
29 }}
30 
31 #ifdef BOOST_HAS_ABI_HEADERS
32 #  include BOOST_ABI_SUFFIX
33 #endif
34 
35 #endif // BOOST_FIBERS_SEGMENTED_STACK_H
36