Commit 5337c059 authored by Jason Toffaletti's avatar Jason Toffaletti

fix build when no boost_context available

parent 273408d4
...@@ -31,11 +31,6 @@ ...@@ -31,11 +31,6 @@
#include <cstdint> #include <cstdint>
#include <stdexcept> #include <stdexcept>
#include "cppa/util/fiber.hpp" #include "cppa/util/fiber.hpp"
#include <boost/version.hpp>
#ifndef NVALGRIND
#include <valgrind/valgrind.h>
#endif
#ifdef CPPA_DISABLE_CONTEXT_SWITCHING #ifdef CPPA_DISABLE_CONTEXT_SWITCHING
...@@ -56,6 +51,10 @@ void fiber::swap(fiber&, fiber&) { ...@@ -56,6 +51,10 @@ void fiber::swap(fiber&, fiber&) {
#else // ifdef CPPA_DISABLE_CONTEXT_SWITCHING #else // ifdef CPPA_DISABLE_CONTEXT_SWITCHING
#ifndef NVALGRIND
#include <valgrind/valgrind.h>
#endif
#include <boost/version.hpp>
#include <boost/context/all.hpp> #include <boost/context/all.hpp>
namespace cppa { namespace util { namespace cppa { namespace util {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment