summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.30+nptl/140-math_finite.patch
blob: d8323a40f1357695688efb8f7820e545a6f27a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/include/math.h
+++ b/include/math.h
@@ -299,6 +299,11 @@
 
 #endif /* Use ISO C99.  */
 
+/* BSD compat */
+#define finite(x) __finite(x)
+#define finitef(x) __finitef(x)
+#define finitel(x) __finitel(x)
+
 #ifdef	__USE_MISC
 /* Support for various different standard error handling behaviors.  */
 typedef enum