]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
compatibility-ldbl.cc: Include tr1/functional.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 14 Aug 2009 01:45:36 +0000 (01:45 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 14 Aug 2009 01:45:36 +0000 (01:45 +0000)
2009-08-13  Benjamin Kosnik  <bkoz@redhat.com>

* src/compatibility-ldbl.cc: Include tr1/functional.

From-SVN: r150731

libstdc++-v3/ChangeLog
libstdc++-v3/src/compatibility-ldbl.cc

index bb2cd4a05d3e237ba9fd54a544aa24d5cc679ef8..a4576d4f8ad80c6ecc257ccee67483d9edff4750 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 79917d9f1cc64fdd6ef795c62e6e012d2c23d42c..b3db73592e473a7bed7d1de14688ea5e6f7d4c93 100644 (file)
@@ -24,6 +24,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <locale>
+#include <tr1/functional>
 
 #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
 
@@ -31,8 +32,6 @@
 #error "compatibility-ldbl.cc must be compiled with -mlong-double-64"
 #endif
 
-#define _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL
-
 namespace std
 {
 #define C char
@@ -67,7 +66,9 @@ namespace std
 #endif
 }
 
-// For std::tr1::hash<long double>::operator ()
+// For std::tr1::hash<long double>::operator()
+#define _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL
+
 namespace std
 {
   namespace tr1 
@@ -76,8 +77,8 @@ namespace std
   }
 }
 
-// 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")));