summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorYuri Dario <ydario@apache.org>2012-07-18 20:46:07 +0000
committerYuri Dario <ydario@apache.org>2012-07-18 20:46:07 +0000
commit169daad071aa38288d96cdfc387640a1a94c825a (patch)
tree357dfa9a6f03e51dcef62a9ea326fbabbe867f05 /sal
parent93dee0af59e55684ce335527d25ab45db64c85ca (diff)
i118923 - OS/2 port: use linux way to detect real numbers.
Notes
Notes: ignore: OS/2
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/sal/mathconf.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h
index c53aecf9670e..aae1470002ab 100644
--- a/sal/inc/sal/mathconf.h
+++ b/sal/inc/sal/mathconf.h
@@ -57,10 +57,7 @@ extern "C" {
#if defined( WNT)
#define SAL_MATH_FINITE(d) _finite(d)
#elif defined OS2
-#define SAL_MATH_FINITE(x) \
- ((sizeof (x) == sizeof (float)) ? __isfinitef(x) \
- : (sizeof (x) == sizeof (double)) ? __isfinite(x) \
- : __isfinitel(x))
+#define SAL_MATH_FINITE(d) finite(d)
#elif defined LINUX || defined UNX
#define SAL_MATH_FINITE(d) finite(d)
#else /* WNT, LINUX, UNX */