Define SAL_MATH_FINITE for Android, too

Using the same "finite()" as on (GNU/)Linux seems to work.

Change-Id: Iad3baa967194f09d7ca25fb9b316b780de5bb90f
This commit is contained in:
Tor Lillqvist
2013-10-23 10:31:42 +03:00
parent 2a8e751eb5
commit e165bf2af0

View File

@@ -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"