diff mbox series

[committed] libstdc++: Fix incorrect macro used in #undef in test

Message ID 20240325121507.523157-1-jwakely@redhat.com
State New
Headers show
Series [committed] libstdc++: Fix incorrect macro used in #undef in test | expand

Commit Message

Jonathan Wakely March 25, 2024, 12:14 p.m. UTC
Tested aarch64-linux. Puhed to trunk.

-- >8 --

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 mbox series

Patch

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>"