mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-19 12:20:58 +08:00
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:
parent
09312c2930
commit
967f056dfd
@ -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
|
||||
|
@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user