]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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_COROUTINES2_FIXEDSIZE_H | |
8 | #define BOOST_COROUTINES2_FIXEDSIZE_H | |
9 | ||
10 | #include <exception> | |
11 | ||
12 | #include <boost/assert.hpp> | |
13 | #include <boost/config.hpp> | |
14 | #include <boost/context/fixedsize_stack.hpp> | |
15 | ||
16 | #include <boost/coroutine2/detail/coroutine.hpp> | |
17 | ||
18 | #ifdef BOOST_HAS_ABI_HEADERS | |
19 | # include BOOST_ABI_PREFIX | |
20 | #endif | |
21 | ||
22 | namespace boost { | |
23 | namespace coroutines2 { | |
24 | ||
25 | using fixedsize_stack = boost::context::fixedsize_stack; | |
26 | #if !defined(BOOST_USE_SEGMENTED_STACKS) | |
27 | using default_stack = boost::context::default_stack; | |
28 | #endif | |
29 | ||
30 | }} | |
31 | ||
32 | #ifdef BOOST_HAS_ABI_HEADERS | |
33 | # include BOOST_ABI_SUFFIX | |
34 | #endif | |
35 | ||
36 | #endif // BOOST_COROUTINES2_FIXEDSIZE_H |