Summary: We only need fcontext.hpp, so let's include it directly. all.hpp includes other headers, which use thread-locals (doesn't work with our OSX build).
Reviewed By: igorsugak, bhamiltoncx
Differential Revision:
D3419638
fbshipit-source-id:
b4fa1bd14454bcd75eaece52c398ac6510273773
*/
#pragma once
-#include <boost/context/all.hpp>
+#include <boost/context/fcontext.hpp>
#include <boost/version.hpp>
/**
#include <functional>
#include <typeinfo>
-#include <boost/context/all.hpp>
-#include <boost/version.hpp>
#include <folly/AtomicIntrusiveLinkedList.h>
#include <folly/CPortability.h>
#include <folly/Function.h>
CXXFLAGS_SAVE=$CXXFLAGS
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
- [[@%:@include <boost/context/all.hpp>
+ [[@%:@include <boost/context/fcontext.hpp>
#include <boost/version.hpp>
]],
[[#if BOOST_VERSION >= 105600