Merge pull request #337 from Lastique/detect_libstdcxx10

Detect libstdc++ from gcc 10 by the presence of <compare> header
This commit is contained in:
jzmaddock
2020-07-25 19:25:54 +01:00
committed by GitHub

View File

@@ -125,7 +125,9 @@
// //
#ifdef __clang__ #ifdef __clang__
#if __has_include(<memory_resource>) #if __has_include(<compare>)
# define BOOST_LIBSTDCXX_VERSION 100100
#elif __has_include(<memory_resource>)
# define BOOST_LIBSTDCXX_VERSION 90100 # define BOOST_LIBSTDCXX_VERSION 90100
#elif __has_include(<charconv>) #elif __has_include(<charconv>)
# define BOOST_LIBSTDCXX_VERSION 80100 # define BOOST_LIBSTDCXX_VERSION 80100