From: Hans-Peter Nilsson Date: Sat, 19 Feb 2005 15:33:59 +0000 (+0000) Subject: re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containe... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=967f056dfd201d9e6ce4b67302d5e9660ff2d583;p=gcc.git re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containers/tuple) PR libstdc++/20071 * include/tr1/functional (hash): Wrap in #ifdef _GLIBCXX_USE_WCHAR_T. From-SVN: r95279 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9b27b0b65e9..84299a131b3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-02-19 Hans-Peter Nilsson + + PR libstdc++/20071 + * include/tr1/functional (hash): Wrap in #ifdef + _GLIBCXX_USE_WCHAR_T. + 2005-02-18 Richard Henderson PR libstdc++/10606 diff --git a/libstdc++-v3/include/tr1/functional b/libstdc++-v3/include/tr1/functional index d53c99a9a5d..d3d681cf01f 100644 --- a/libstdc++-v3/include/tr1/functional +++ b/libstdc++-v3/include/tr1/functional @@ -135,6 +135,7 @@ namespace tr1 } }; +#ifdef _GLIBCXX_USE_WCHAR_T template <> struct hash { @@ -146,6 +147,7 @@ namespace tr1 return result; } }; +#endif } }