summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-07-25 14:07:06 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-07-25 14:07:06 +0000
commitface45707a1f115259f4d1cc0bbb360e4b69573d (patch)
treefb85827338c7973f140b757574866a296c9d0211 /gnu
parente6d488e8c9dbb0f1b34802e6161e50e89b8444fb (diff)
don't undefine C99 math macros, if !_GLIBCPP_USE_C99, so that we
can use these functions in C++. ok millert@. also looked over by espie@, fgsch@.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h b/gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h
index ce204488cab..1b999ab40a7 100644
--- a/gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h
+++ b/gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h
@@ -647,8 +647,6 @@ namespace __gnu_cxx
__capture_isunordered(_Tp __f1, _Tp __f2)
{ return isunordered(__f1, __f2); }
}
-#endif /* _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC */
-#endif
#undef fpclassify
#undef isfinite
@@ -663,8 +661,6 @@ namespace __gnu_cxx
#undef islessgreater
#undef isunordered
-#if defined(_GLIBCPP_USE_C99)
-#if !defined(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC)
namespace __gnu_cxx
{
template<typename _Tp>