summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-02 06:08:28 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-02 06:08:28 +0000
commit30a4c9cd4763bca86bc4446ac18d7b479c1ed645 (patch)
tree65eb5f8a607abfeb9556a3813784f5b6fbb67aa9 /libstdc++-v3
parent37030e5ad53b5453d4fe24fffda5edc5db56ac08 (diff)
downloadgcc-30a4c9cd4763bca86bc4446ac18d7b479c1ed645.tar.gz
2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-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 47a50e201aa..3ceb05a10b4 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 b15b08d9a71..f967bd27cee 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 { }