[Libreoffice-commits] .: sal/inc
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 2 13:49:10 PDT 2012
sal/inc/sal/mathconf.h | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 19bce817279c7fd150af0422c224975e57ff9f41
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Nov 2 22:25:47 2012 +0200
Try to use isfinite() for iOS
Change-Id: Ia333afbefa4c112f478d2619efbe032e70925417
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h
index f92d8b4..5a49e0b 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
More information about the Libreoffice-commits
mailing list