boost_config.hpp
1 // http://stackoverflow.com/questions/22597948/using-boostfuture-with-then-continuations/
2 #ifndef BOOST_THREAD_PROVIDES_FUTURE
3 #define BOOST_THREAD_PROVIDES_FUTURE
4 #endif
5 #ifndef BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION
6 #define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION
7 #endif
8 #ifndef BOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY
9 #define BOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY
10 #endif
11 
12 #include <boost/thread/future.hpp>