diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-25 14:07:06 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-25 14:07:06 +0000 |
commit | face45707a1f115259f4d1cc0bbb360e4b69573d (patch) | |
tree | fb85827338c7973f140b757574866a296c9d0211 /gnu | |
parent | e6d488e8c9dbb0f1b34802e6161e50e89b8444fb (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.h | 4 |
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> |