re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containers/tuple)

PR libstdc++/20071
	* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
	_GLIBCXX_USE_WCHAR_T.

From-SVN: r95279
This commit is contained in:
Hans-Peter Nilsson 2005-02-19 15:33:59 +00:00 committed by Hans-Peter Nilsson
parent 09312c2930
commit 967f056dfd
2 changed files with 8 additions and 0 deletions

View 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

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