summaryrefslogtreecommitdiff
path: root/boost/context/execution_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/context/execution_context.hpp')
-rw-r--r--boost/context/execution_context.hpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/boost/context/execution_context.hpp b/boost/context/execution_context.hpp
index 2eb02e12ee..5808e027de 100644
--- a/boost/context/execution_context.hpp
+++ b/boost/context/execution_context.hpp
@@ -6,14 +6,7 @@
#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
+#if !defined(BOOST_NO_CXX11_THREAD_LOCAL)
+# include <boost/context/execution_context_v1.hpp>
#endif
+#include <boost/context/execution_context_v2.hpp>