forked from boostorg/config
Correct gcc-10 boost_has_hash.
This commit is contained in:
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
#if defined(__has_include)
|
#if defined(__has_include)
|
||||||
#if defined(BOOST_HAS_HASH)
|
#if defined(BOOST_HAS_HASH)
|
||||||
#if !__has_include(BOOST_HASH_SET_HEADER)
|
#if !__has_include(BOOST_HASH_SET_HEADER) || (__GNUC__ >= 10)
|
||||||
#undef BOOST_HAS_HASH
|
#undef BOOST_HAS_HASH
|
||||||
#undef BOOST_HAS_SET_HEADER
|
#undef BOOST_HAS_SET_HEADER
|
||||||
#undef BOOST_HAS_MAP_HEADER
|
#undef BOOST_HAS_MAP_HEADER
|
||||||
@ -176,6 +176,7 @@
|
|||||||
#undef BOOST_HAS_MAP_HEADER
|
#undef BOOST_HAS_MAP_HEADER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if (BOOST_LIBSTDCXX_VERSION < 50100)
|
#if (BOOST_LIBSTDCXX_VERSION < 50100)
|
||||||
// libstdc++ does not define this function as it's deprecated in C++11, but clang still looks for it,
|
// libstdc++ does not define this function as it's deprecated in C++11, but clang still looks for it,
|
||||||
// defining it here is a terrible cludge, but should get things working:
|
// defining it here is a terrible cludge, but should get things working:
|
||||||
|
Reference in New Issue
Block a user