[gcc r14-9652] libstdc++: Fix incorrect macro used in #undef in test
Jonathan Wakely
redi@gcc.gnu.org
Mon Mar 25 12:14:51 GMT 2024
https://gcc.gnu.org/g:cf3fc6f414f52a99f2dfc71c2e72e96fe60d2b6f
commit r14-9652-gcf3fc6f414f52a99f2dfc71c2e72e96fe60d2b6f
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Sat Mar 23 00:19:55 2024 +0000
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.
Diff:
---
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 <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>"
More information about the Libstdc++-cvs
mailing list