c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 2 May 2008 06:08:28 +0000 (06:08 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 2 May 2008 06:08:28 +0000 (06:08 +0000)
2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.

From-SVN: r134883

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config

index 47a50e2..3ceb05a 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
+
 2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * include/Makefile.am (install-headers): Cope with empty
index b15b08d..f967bd2 100644 (file)
@@ -212,12 +212,11 @@ namespace std
 
 // XXX GLIBCXX_ABI Deprecated
 // Define if compatibility should be provided for -mlong-double-64
-#if defined __cplusplus && defined __LONG_DOUBLE_128__ 
 #undef _GLIBCXX_LONG_DOUBLE_COMPAT
-#endif
 
 // Namespace associations for long double 128 mode.
-#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
+#if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
+  && defined __cplusplus
 namespace std
 {
   inline namespace __gnu_cxx_ldbl128 { }