From: martynas Date: Fri, 25 Jul 2008 14:07:05 +0000 (+0000) Subject: don't undefine C99 math macros, if !_GLIBCPP_USE_C99, so that we X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a1002cabb8a03f3eb8fdb956b928bc000060354;p=openbsd 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@. --- 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