From d39021ce2830870cb2e11c31748bcc40461a07fc Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Fri, 21 Jan 2022 00:38:53 +0300 Subject: [PATCH] Added detection of libstdc++ from gcc 11. --- include/boost/config/stdlib/libstdcpp3.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index abcdad54..75a927cd 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -139,7 +139,9 @@ // #ifdef __clang__ -#if __has_include() +#if __has_include() +# define BOOST_LIBSTDCXX_VERSION 110100 +#elif __has_include() # define BOOST_LIBSTDCXX_VERSION 100100 #elif __has_include() # define BOOST_LIBSTDCXX_VERSION 90100