[toolchain/kernel-headers] fix syntax error
[openwrt.git] / toolchain / uClibc / patches-0.9.30.3 / 170-math_finite.patch
1 --- a/include/math.h
2 +++ b/include/math.h
3 @@ -179,7 +179,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 @@ -299,6 +299,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.041432 seconds and 5 git commands to generate.