* src/compatibility-ldbl.cc: Include tr1/functional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150731
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-08-13 Benjamin Kosnik <bkoz@redhat.com>
+
+ * src/compatibility-ldbl.cc: Include tr1/functional.
+
2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Add explicit namespace scope.
2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Add explicit namespace scope.
// <http://www.gnu.org/licenses/>.
#include <locale>
// <http://www.gnu.org/licenses/>.
#include <locale>
+#include <tr1/functional>
#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
#error "compatibility-ldbl.cc must be compiled with -mlong-double-64"
#endif
#error "compatibility-ldbl.cc must be compiled with -mlong-double-64"
#endif
-#define _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL
-
namespace std
{
#define C char
namespace std
{
#define C char
-// For std::tr1::hash<long double>::operator ()
+// For std::tr1::hash<long double>::operator()
+#define _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL
+
namespace std
{
namespace tr1
namespace std
{
namespace tr1
-// std::tr1::hash<long double>::operator ()
-// and std::hash<long double>::operator ()
+// std::tr1::hash<long double>::operator()
+// and std::hash<long double>::operator()
// are the same, no need to duplicate them.
extern "C" void _ZNKSt4hashIeEclEe (void)
__attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));
// are the same, no need to duplicate them.
extern "C" void _ZNKSt4hashIeEclEe (void)
__attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));