]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR libstdc++/20071
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 15:33:59 +0000 (15:33 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 15:33:59 +0000 (15:33 +0000)
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
_GLIBCXX_USE_WCHAR_T.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95279 138bc75d-0d04-0410-961f-82ee72b054a4

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