Kaydet (Commit) 14b36850 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i122208# the std::isfinite() workaround is only needed for GCC

and not for Clang (even if it quite compatible with GCC).
Also clang doesn't support GCC's __builtin_isfinite() function.
üst d663922c
......@@ -55,7 +55,7 @@ extern "C" {
/* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
#if defined(__GNUC__) // workaround gcc bug 14608
#if defined(__GNUC__) && !defined(__clang__) // workaround gcc bug 14608
#if (__GNUC_MINOR__ >= 3) // gcc>=4.3 has a builtin
#define SAL_MATH_FINITE(d) __builtin_isfinite(d)
#else
......
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