Kaydet (Commit) 302a098a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use isfinite() on iOS

We probably should use isfinite() on more platforms, at least other
BSD-based ones, instead of the allegedly deprecated finite()?
üst 8bd41dad
......@@ -61,6 +61,8 @@ extern "C" {
/* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
#if defined( WNT)
#define SAL_MATH_FINITE(d) _finite(d)
#elif defined IOS
#define SAL_MATH_FINITE(d) isfinite(d)
#elif defined LINUX || defined UNX
#define SAL_MATH_FINITE(d) finite(d)
#else /* WNT, LINUX, UNX */
......
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