summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-21 19:40:17 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-21 19:40:17 +0000
commit94fb7950f6a7112e445a5e1bc7891a4dc65afd8d (patch)
treee262e052d287527aff2f852296b4f535f8998b30 /libstdc++-v3/include/c
parent09febc846e989bfbc6ab7e412cde35f649feae98 (diff)
downloadppe42-gcc-94fb7950f6a7112e445a5e1bc7891a4dc65afd8d.tar.gz
ppe42-gcc-94fb7950f6a7112e445a5e1bc7891a4dc65afd8d.zip
2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro. * aclocal.m4: Regenerate. * configure.in: Use it. * configure: Regenerate. * src/complexl.cc: Fixup. * include/c_std/bits/std_cmath.h: Fixup. * include/c/bits/std_cmath.h: Fixup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36998 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c')
-rw-r--r--libstdc++-v3/include/c/bits/std_cmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/c/bits/std_cmath.h b/libstdc++-v3/include/c/bits/std_cmath.h
index d7df14b2198..0db16240001 100644
--- a/libstdc++-v3/include/c/bits/std_cmath.h
+++ b/libstdc++-v3/include/c/bits/std_cmath.h
@@ -367,6 +367,7 @@ namespace std {
//
// long double
//
+#ifdef _GLIBCPP_USE_LONG_DOUBLE
#if _GLIBCPP_HAVE___BUILTIN_FABSL
inline long double abs(long double __x)
{ return __builtin_fabsl(__x); }
@@ -499,6 +500,7 @@ namespace std {
{ return ::tanhl(__x); }
#endif
+#endif // _GLIBCPP_USE_LONG_DOUBLE
} // std
#endif // _CPP_CMATH
OpenPOWER on IntegriCloud