mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Detect libstdc++ from gcc 10 by the presence of <compare> header.
This commit is contained in:
@ -125,7 +125,9 @@
|
||||
//
|
||||
#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
|
||||
#elif __has_include(<charconv>)
|
||||
# define BOOST_LIBSTDCXX_VERSION 80100
|
||||
|
Reference in New Issue
Block a user