diff options
author | Lionel Dricot <lionel@lanedo.com> | 2012-06-04 22:02:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-06-06 05:57:03 +0200 |
commit | f209a7562e85c6d5dd491c8999e8fc61da18a965 (patch) | |
tree | f620a99f913cf38b0996e81cabee5390e2a807e9 /sal | |
parent | f76a25c45b247fbdd77c47e033286e3adc5d553a (diff) |
std::isfinite seems to not be available under Solaris. Bypassing it.
Change-Id: I8f6f844338cb188a63676f2db5dec89fccfdca4c
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/mathconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h index 1e4b11b112b4..35d7bff2011d 100644 --- a/sal/inc/sal/mathconf.h +++ b/sal/inc/sal/mathconf.h @@ -63,7 +63,8 @@ extern "C" { /* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */ -#if defined(__cplusplus) && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) +#if !defined SOLARIS && defined(__cplusplus) \ + && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) #define SAL_MATH_FINITE(d) std::isfinite(d) #elif defined( WNT) #define SAL_MATH_FINITE(d) _finite(d) |