diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-23 10:31:42 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-23 10:49:21 +0300 |
commit | e165bf2af00e743cd6113e293f8db7bf749d6f53 (patch) | |
tree | af1e6e76d4532c61626a8fa89c263dae3d3ffb84 /include/sal/mathconf.h | |
parent | Improve test (diff) | |
download | core-e165bf2af00e743cd6113e293f8db7bf749d6f53.tar.gz core-e165bf2af00e743cd6113e293f8db7bf749d6f53.zip |
Define SAL_MATH_FINITE for Android, too
Using the same "finite()" as on (GNU/)Linux seems to work.
Change-Id: Iad3baa967194f09d7ca25fb9b316b780de5bb90f
Diffstat (limited to 'include/sal/mathconf.h')
-rw-r--r-- | include/sal/mathconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sal/mathconf.h b/include/sal/mathconf.h index fefd213e3684..44adf8bc58ce 100644 --- a/include/sal/mathconf.h +++ b/include/sal/mathconf.h @@ -72,7 +72,7 @@ extern "C" { #define SAL_MATH_FINITE(d) isfinite(d) #elif defined( WNT) #define SAL_MATH_FINITE(d) _finite(d) -#elif defined LINUX || defined UNX +#elif defined(ANDROID) || defined LINUX || defined UNX #define SAL_MATH_FINITE(d) finite(d) #else /* WNT, LINUX, UNX */ #error "SAL_MATH_FINITE not defined" |