Skip to content

Commit 2543ff1

Browse files
authored
Merge pull request #445 from Lastique/patch-4
Add support for detecting libstdc++ 12
2 parents 902273e + ebb95cb commit 2543ff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/boost/config/stdlib/libstdcpp3.hpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@
139139
//
140140
#ifdef __clang__
141141

142-
#if __has_include(<source_location>)
142+
#if __has_include(<expected>)
143+
# define BOOST_LIBSTDCXX_VERSION 120100
144+
#elif __has_include(<source_location>)
143145
# define BOOST_LIBSTDCXX_VERSION 110100
144146
#elif __has_include(<compare>)
145147
# define BOOST_LIBSTDCXX_VERSION 100100

0 commit comments

Comments
 (0)