aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.31/140-math_decl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.31/140-math_decl.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.31/140-math_decl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.31/140-math_decl.patch b/toolchain/uClibc/patches-0.9.31/140-math_decl.patch
new file mode 100644
index 0000000000..63e37346f5
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.31/140-math_decl.patch
@@ -0,0 +1,12 @@
+--- a/libc/sysdeps/linux/common/bits/mathcalls.h
++++ b/libc/sysdeps/linux/common/bits/mathcalls.h
+@@ -237,8 +237,7 @@ __END_NAMESPACE_C99
+
+
+ /* Return nonzero if VALUE is not a number. */
+-/* DELETE? __MATHDECL_PRIV adds another "__": so this is "____isnan"???! */
+-/*__MATHDECL_PRIV (int,__isnan,, (_Mdouble_ __value), (__const__))*/
++__MATHDECL_PRIV (int,isnan,, (_Mdouble_ __value), (__const__));
+
+ #if defined __USE_MISC || defined __USE_XOPEN
+ /* Return nonzero if VALUE is not a number. */