uClibc: add a wrapper for the missing finite() function
[openwrt/svn-archive/archive.git] / toolchain / uClibc / patches-0.9.30.1 / 170-math_finite.patch
1 --- a/include/math.h
2 +++ b/include/math.h
3 @@ -299,6 +299,11 @@
4
5 #endif /* Use ISO C99. */
6
7 +/* BSD compat */
8 +#define finite(x) __finite(x)
9 +#define finitef(x) __finitef(x)
10 +#define finitel(x) __finitel(x)
11 +
12 #ifdef __USE_MISC
13 /* Support for various different standard error handling behaviors. */
14 typedef enum