summaryrefslogtreecommitdiff
path: root/boost/context/execution_context.hpp
blob: 2eb02e12eec60b7ff7d3888991298764b7309e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

//          Copyright Oliver Kowalke 2014.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)

#include <boost/context/detail/config.hpp>

#if ! defined(BOOST_CONTEXT_NO_CXX11)
# if (defined(BOOST_EXECUTION_CONTEXT) && (BOOST_EXECUTION_CONTEXT == 1))
#  if !defined(BOOST_NO_CXX11_THREAD_LOCAL)
#   include <boost/context/execution_context_v1.hpp>
#  else
#   error "keyword thread_local not supported"
#  endif
# else
#  include <boost/context/execution_context_v2.hpp>
# endif
#endif