From 5a1002cabb8a03f3eb8fdb956b928bc000060354 Mon Sep 17 00:00:00 2001 From: martynas Date: Fri, 25 Jul 2008 14:07:05 +0000 Subject: [PATCH] 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@. --- gnu/lib/libstdc++/libstdc++/include/c_std/std_cmath.h | 4 ---- 1 file changed, 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 -- 2.20.1