]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
7.cc: Guard with _GLIBCPP_USE_WCHAR_T.
authorDavid Edelsohn <edelsohn@gnu.org>
Thu, 3 Jul 2003 14:20:29 +0000 (14:20 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 3 Jul 2003 14:20:29 +0000 (10:20 -0400)
        * testsuite/22_locale/num_put/put/char/7.cc: Guard with
        _GLIBCPP_USE_WCHAR_T.

From-SVN: r68883

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/num_put/put/char/7.cc

index 69f40c67ec8e79414cee8386851c989369a940ac..86f4648a1cf3155736c16739b2463e84e997ec08 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-03  David Edelsohn  <edelsohn@gnu.org>
+
+       * testsuite/22_locale/num_put/put/char/7.cc: Guard with
+       _GLIBCPP_USE_WCHAR_T.
+
 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
 
        * include/bits/basic_string.tcc (_M_replace_aux): Constify
index c91e2a21524870f9e5b556aa025d19fe7bc55a93..43dcb53aadbb512be551fcc612f57340737a88ae 100644 (file)
@@ -23,6 +23,7 @@
 #include <locale>
 #include <testsuite_hooks.h>
 
+#ifdef _GLIBCPP_USE_WCHAR_T
 // libstdc++/9828
 void test01()
 {
@@ -37,9 +38,12 @@ void test01()
   np.put(stream, wcout, ' ', static_cast<long>(10));
   VERIFY( stream.str() == "10" );
 }
+#endif
 
 int main()
 {
+#ifdef _GLIBCPP_USE_WCHAR_T
   test01();
+#endif
   return 0;
 }