]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containe...
authorHans-Peter Nilsson <hp@axis.com>
Sat, 19 Feb 2005 15:33:59 +0000 (15:33 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sat, 19 Feb 2005 15:33:59 +0000 (15:33 +0000)
PR libstdc++/20071
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
_GLIBCXX_USE_WCHAR_T.

From-SVN: r95279

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/functional

index 9b27b0b65e93a2d8efe46c620055adfda92b889c..84299a131b3009c697325d6ed968e9bcd33f81f9 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR libstdc++/20071
+       * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
+       _GLIBCXX_USE_WCHAR_T.
+
 2005-02-18  Richard Henderson  <rth@redhat.com>
 
        PR libstdc++/10606
index d53c99a9a5d548f63f1562534c0e9b2e9bf39304..d3d681cf01f362dffe9bf74f7aa426b446b89699 100644 (file)
@@ -135,6 +135,7 @@ namespace tr1
       }
     };
 
+#ifdef _GLIBCXX_USE_WCHAR_T
   template <>
     struct hash<std::wstring>
     {
@@ -146,6 +147,7 @@ namespace tr1
        return result;
       }
     };
+#endif
 
 }
 }