Updates from BitShares FC #22
1 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <fc/thread/thread.hpp>
|
#include <fc/thread/thread.hpp>
|
||||||
#include <boost/context/all.hpp>
|
|
||||||
#include <fc/exception/exception.hpp>
|
#include <fc/exception/exception.hpp>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
@ -9,6 +8,12 @@
|
||||||
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING // Boost 1.61
|
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING // Boost 1.61
|
||||||
#define BOOST_COROUTINE_NO_DEPRECATION_WARNING // Boost 1.62
|
#define BOOST_COROUTINE_NO_DEPRECATION_WARNING // Boost 1.62
|
||||||
|
|
||||||
|
#if BOOST_VERSION >= 106800
|
||||||
|
#include <boost/context/continuation_fcontext.hpp>
|
||||||
|
#else
|
||||||
|
#include <boost/context/all.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if BOOST_VERSION >= 106100
|
#if BOOST_VERSION >= 106100
|
||||||
#include <boost/coroutine/stack_allocator.hpp>
|
#include <boost/coroutine/stack_allocator.hpp>
|
||||||
namespace bc = boost::context::detail;
|
namespace bc = boost::context::detail;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue