summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-10-01 15:40:49 +0300
committerTor Lillqvist <tml@iki.fi>2012-10-01 15:42:59 +0300
commitcb5730dc277a98b45c120b6fb0847c32620da478 (patch)
tree439a4e2cbc6035f1cc21775062d1c3a8be9b8b52
parentf2389862ea0459d6e17e718f33e1674a63a9bb19 (diff)
Seems that the iOS-specific crack is not needed any longer
Change-Id: I91a7f74e55b6ad8780a3a0920a22b6a7264b7b88
-rw-r--r--sal/inc/sal/mathconf.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h
index c03adc45413d..f92d8b403123 100644
--- a/sal/inc/sal/mathconf.h
+++ b/sal/inc/sal/mathconf.h
@@ -69,16 +69,6 @@ extern "C" {
#define SAL_MATH_FINITE(d) std::isfinite(d)
#elif defined( WNT)
#define SAL_MATH_FINITE(d) _finite(d)
-#elif defined IOS
-/* C++ is so nice. This is the only way I could come up with making
- * this actually work in all cases (?), even when <cmath> has been
- * included which #undefs isfinite: copy the definition of isfinite()
- * from <architecture/arm/math.h>
- */
-#define SAL_MATH_FINITE(d) \
- ( sizeof (d) == sizeof(float ) ? __inline_isfinitef((float)(d)) \
- : sizeof (d) == sizeof(double) ? __inline_isfinited((double)(d)) \
- : __inline_isfinite ((long double)(d)))
#elif defined LINUX || defined UNX
#define SAL_MATH_FINITE(d) finite(d)
#else /* WNT, LINUX, UNX */