Skip to content

Commit ebb95cb

Browse files
authored
Add support for detecting libstdc++ 12
1 parent 8e94132 commit ebb95cb

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)