From cf3fc6f414f52a99f2dfc71c2e72e96fe60d2b6f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 23 Mar 2024 00:19:55 +0000 Subject: [PATCH] libstdc++: Fix incorrect macro used in #undef in test This was a copy & paste error. libstdc++-v3/ChangeLog: * testsuite/std/text_encoding/requirements.cc: #undef the correct macro. --- libstdc++-v3/testsuite/std/text_encoding/requirements.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/std/text_encoding/requirements.cc b/libstdc++-v3/testsuite/std/text_encoding/requirements.cc index a1d5d6baee1..6cd71b68225 100644 --- a/libstdc++-v3/testsuite/std/text_encoding/requirements.cc +++ b/libstdc++-v3/testsuite/std/text_encoding/requirements.cc @@ -8,7 +8,7 @@ # error "Feature-test macro for text_encoding has wrong value in " #endif -#undef __cpp_lib_expected +#undef __cpp_lib_text_encoding #include #ifndef __cpp_lib_text_encoding # error "Feature-test macro for text_encoding missing in "