From fa5b668e7e369b5c4394ffd7220aafe7b06ce7ca Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 2 May 2008 06:08:28 +0000 Subject: [PATCH] c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. 2008-05-01 Benjamin Kosnik * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. From-SVN: r134883 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/bits/c++config | 5 ++--- 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 + + * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change. + 2008-04-30 Ralf Wildenhues * 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 { } -- 2.30.2