uClibc: update 0.9.32 to latest git
[openwrt.git] / toolchain / uClibc / patches-0.9.32 / 170-math_finite.patch
1 --- a/include/math.h
2 +++ b/include/math.h
3 @@ -195,7 +195,7 @@
4
5
6 /* ISO C99 defines some generic macros which work on any data type. */
7 -#ifdef __USE_ISOC99
8 +#if defined(__USE_ISOC99) || defined(__USE_BSD)
9
10 /* Get the architecture specific values describing the floating-point
11 evaluation. The following symbols will get defined:
12 @@ -315,6 +315,11 @@
13
14 #endif /* Use ISO C99. */
15
16 +/* BSD compat */
17 +#define finite(x) __finite(x)
18 +#define finitef(x) __finitef(x)
19 +#define finitel(x) __finitel(x)
20 +
21 #ifdef __USE_MISC
22 /* Support for various different standard error handling behaviors. */
23 typedef enum
This page took 0.041506 seconds and 5 git commands to generate.