diff --git a/include/boost/context/detail/config.hpp b/include/boost/context/detail/config.hpp index 08d568d..b0b03c1 100644 --- a/include/boost/context/detail/config.hpp +++ b/include/boost/context/detail/config.hpp @@ -115,17 +115,9 @@ static constexpr std::size_t cacheline_length{ 64 }; static constexpr std::size_t prefetch_stride{ 4 * cacheline_length }; #endif -// __has_include is currently supported by GCC and Clang. However GCC 4.9 may have issues and -// returns 1 for 'defined( __has_include )', while '__has_include' is actually not supported: -// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63662 -#if !defined(__APPLE__) && !defined(__MACH__ ) -# if defined(__has_include) && (!defined(BOOST_GCC) || (__GNUC__ + 0) >= 5) -# if __has_include() -# define BOOST_CONTEXT_HAS_CXXABI_H -# endif -# elif defined(__GLIBCXX__) || defined(__GLIBCPP__) +#if defined(__GLIBCPP__) || defined(__GLIBCXX__) +// GNU libstdc++ 3 # define BOOST_CONTEXT_HAS_CXXABI_H -# endif #endif #if defined( BOOST_CONTEXT_HAS_CXXABI_H )