aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2008-05-02 06:08:28 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2008-05-02 06:08:28 +0000
commitfa5b668e7e369b5c4394ffd7220aafe7b06ce7ca (patch)
tree65eb5f8a607abfeb9556a3813784f5b6fbb67aa9
parent00113de86ecca65a1ecfa40f279ab907ac202db8 (diff)
downloadgcc-fa5b668e7e369b5c4394ffd7220aafe7b06ce7ca.zip
gcc-fa5b668e7e369b5c4394ffd7220aafe7b06ce7ca.tar.gz
gcc-fa5b668e7e369b5c4394ffd7220aafe7b06ce7ca.tar.bz2
c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
2008-05-01 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. From-SVN: r134883
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/c++config5
2 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 47a50e2..3ceb05a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config
index b15b08d..f967bd2 100644
--- a/libstdc++-v3/include/bits/c++config
+++ b/libstdc++-v3/include/bits/c++config
@@ -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 { }