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_CONTEXT_DETAIL_EXCEPTION_H
8 #define BOOST_CONTEXT_DETAIL_EXCEPTION_H
10 #include <boost/config.hpp>
12 #include <boost/context/detail/fcontext.hpp>
14 #ifdef BOOST_HAS_ABI_HEADERS
15 # include BOOST_ABI_PREFIX
22 struct forced_unwind {
25 forced_unwind( fcontext_t fctx_) :
32 #ifdef BOOST_HAS_ABI_HEADERS
33 #include BOOST_ABI_SUFFIX
36 #endif // BOOST_CONTEXT_DETAIL_EXCEPTION_H