This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] libstdc++/33771 and 33773


... oops, use the wrong macro for WCHAR_T. Committed to mainline.

Paolo.

///////////////
2007-10-15  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/33773 (cont)
	* testsuite/21_strings/headers/cwchar/macros.cc: Guard with
	_GLIBCXX_USE_WCHAR_T, instead.
Index: testsuite/21_strings/headers/cwchar/macros.cc
===================================================================
--- testsuite/21_strings/headers/cwchar/macros.cc	(revision 129314)
+++ testsuite/21_strings/headers/cwchar/macros.cc	(working copy)
@@ -20,7 +20,7 @@
 
 #include <cwchar>
 
-#ifdef _GLIBCXX_HAVE_WCHAR_H
+#ifdef _GLIBCXX_USE_WCHAR_T
 
 namespace gnu
 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]