Commit c04ec67e by Loren J. Rittle Committed by Loren J. Rittle

std_cmath.h (C99 FP capture): Only undefine said C99 FP macros, if actually captured.

	* include/c_std/std_cmath.h (C99 FP capture): Only undefine said
	C99 FP macros, if actually captured.

From-SVN: r65777
parent 6a29edea
2003-04-18 Loren J. Rittle <ljrittle@acm.org>
* include/c_std/std_cmath.h (C99 FP capture): Only undefine said
C99 FP macros, if actually captured.
2003-04-17 Benjamin Kosnik <bkoz@redhat.com> 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9555 PR libstdc++/9555
......
...@@ -646,10 +646,9 @@ namespace __gnu_cxx ...@@ -646,10 +646,9 @@ namespace __gnu_cxx
int int
__capture_isunordered(_Tp __f1, _Tp __f2) __capture_isunordered(_Tp __f1, _Tp __f2)
{ return isunordered(__f1, __f2); } { return isunordered(__f1, __f2); }
} }
#endif /* _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC */
#endif
// Only undefine the C99 FP macros, if actually captured for namespace movement
#undef fpclassify #undef fpclassify
#undef isfinite #undef isfinite
#undef isinf #undef isinf
...@@ -662,6 +661,8 @@ namespace __gnu_cxx ...@@ -662,6 +661,8 @@ namespace __gnu_cxx
#undef islessequal #undef islessequal
#undef islessgreater #undef islessgreater
#undef isunordered #undef isunordered
#endif /* _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC */
#endif
#if _GLIBCPP_USE_C99 #if _GLIBCPP_USE_C99
#if !_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC #if !_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment