diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-02 22:25:47 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-02 22:47:57 +0200 |
commit | 19bce817279c7fd150af0422c224975e57ff9f41 (patch) | |
tree | 5236a61f53abdee3938789853f1fa408bacfdae5 /sal | |
parent | 9fdf86df4eb65a0cd2a178998daf751afc34805e (diff) |
Try to use isfinite() for iOS
Change-Id: Ia333afbefa4c112f478d2619efbe032e70925417
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/mathconf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h index f92d8b403123..5a49e0b999bb 100644 --- a/sal/inc/sal/mathconf.h +++ b/sal/inc/sal/mathconf.h @@ -67,6 +67,8 @@ extern "C" { && defined(__cplusplus) \ && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) #define SAL_MATH_FINITE(d) std::isfinite(d) +#elif defined( IOS ) +#define SAL_MATH_FINITE(d) isfinite(d) #elif defined( WNT) #define SAL_MATH_FINITE(d) _finite(d) #elif defined LINUX || defined UNX |