Commit 682db6f9 by Benjamin Kosnik Committed by Benjamin Kosnik

c++config: Guard _LDBL_ macros with __cplusplus.

2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/c++config: Guard _LDBL_ macros with __cplusplus.

From-SVN: r134288
parent 4c9db6e0
2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
2008-04-10 Benjamin Kosnik <bkoz@redhat.com> 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Regenerate. * doc/html/*: Regenerate.
......
...@@ -236,7 +236,8 @@ namespace std ...@@ -236,7 +236,8 @@ namespace std
// XXX GLIBCXX_ABI Deprecated // XXX GLIBCXX_ABI Deprecated
// Namespace associations for long double 128 mode. // Namespace associations for long double 128 mode.
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
#if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__ \
&& defined __cplusplus
# define _GLIBCXX_LDBL_NAMESPACE __gnu_cxx_ldbl128:: # define _GLIBCXX_LDBL_NAMESPACE __gnu_cxx_ldbl128::
# define _GLIBCXX_BEGIN_LDBL_NAMESPACE namespace __gnu_cxx_ldbl128 { # define _GLIBCXX_BEGIN_LDBL_NAMESPACE namespace __gnu_cxx_ldbl128 {
# define _GLIBCXX_END_LDBL_NAMESPACE } # define _GLIBCXX_END_LDBL_NAMESPACE }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment