]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix incorrect macro used in #undef in test
authorJonathan Wakely <jwakely@redhat.com>
Sat, 23 Mar 2024 00:19:55 +0000 (00:19 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 25 Mar 2024 12:13:50 +0000 (12:13 +0000)
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

index a1d5d6baee19c39497484c2335928045b53c046b..6cd71b68225369cbab592c0d720a5a4f63abb2b6 100644 (file)
@@ -8,7 +8,7 @@
 # error "Feature-test macro for text_encoding has wrong value in <text_encoding>"
 #endif
 
-#undef __cpp_lib_expected
+#undef __cpp_lib_text_encoding
 #include <version>
 #ifndef __cpp_lib_text_encoding
 # error "Feature-test macro for text_encoding missing in <version>"