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.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/boost/context/execution_context.hpp b/boost/context/execution_context.hpp
index 97b1d4e70a..9d9294f91d 100644
--- a/boost/context/execution_context.hpp
+++ b/boost/context/execution_context.hpp
@@ -4,8 +4,12 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-#if defined(BOOST_USE_WINFIBERS)
-#include <boost/context/execution_context_winfib.ipp>
-#else
-#include <boost/context/execution_context.ipp>
+#include <boost/context/detail/config.hpp>
+
+#if ! defined(BOOST_CONTEXT_NO_CXX11)
+# if (defined(BOOST_EXECUTION_CONTEXT) && (BOOST_EXECUTION_CONTEXT == 1))
+# include <boost/context/execution_context_v1.hpp>
+# else
+# include <boost/context/execution_context_v2.hpp>
+# endif
#endif