aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.30.1
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-29 09:25:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-29 09:25:51 +0000
commit1c57770f288d42345e05865e3d18a30899ec82cf (patch)
treef24a4eb04d75ed2bc755210d1def42dc2a57298c /toolchain/uClibc/patches-0.9.30.1
parent12c8b488f79c77870d64bedc781c460d6e87a429 (diff)
downloadupstream-1c57770f288d42345e05865e3d18a30899ec82cf.tar.gz
upstream-1c57770f288d42345e05865e3d18a30899ec82cf.tar.bz2
upstream-1c57770f288d42345e05865e3d18a30899ec82cf.zip
uClibc: add a wrapper for the missing finite() function
SVN-Revision: 16170
Diffstat (limited to 'toolchain/uClibc/patches-0.9.30.1')
-rw-r--r--toolchain/uClibc/patches-0.9.30.1/170-math_finite.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.30.1/170-math_finite.patch b/toolchain/uClibc/patches-0.9.30.1/170-math_finite.patch
new file mode 100644
index 0000000000..d8323a40f1
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.30.1/170-math_finite.patch
@@ -0,0 +1,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