summaryrefslogtreecommitdiff
path: root/toolchain
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
parent12c8b488f79c77870d64bedc781c460d6e87a429 (diff)
downloadmtk-20170518-1c57770f288d42345e05865e3d18a30899ec82cf.zip
mtk-20170518-1c57770f288d42345e05865e3d18a30899ec82cf.tar.gz
mtk-20170518-1c57770f288d42345e05865e3d18a30899ec82cf.tar.bz2
uClibc: add a wrapper for the missing finite() function
SVN-Revision: 16170
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches-0.9.30+nptl/140-math_finite.patch14
-rw-r--r--toolchain/uClibc/patches-0.9.30.1/170-math_finite.patch14
2 files changed, 28 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.30+nptl/140-math_finite.patch b/toolchain/uClibc/patches-0.9.30+nptl/140-math_finite.patch
new file mode 100644
index 0000000..d8323a4
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.30+nptl/140-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
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 0000000..d8323a4
--- /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