[toolchain] add support for uClibc 0.9.30.3
[openwrt-10.03/.git] / toolchain / uClibc / patches-0.9.30.3 / 140-math_decl.patch
diff --git a/toolchain/uClibc/patches-0.9.30.3/140-math_decl.patch b/toolchain/uClibc/patches-0.9.30.3/140-math_decl.patch
new file mode 100644 (file)
index 0000000..3b9a6a9
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/libc/sysdeps/linux/common/bits/mathcalls.h
++++ b/libc/sysdeps/linux/common/bits/mathcalls.h
+@@ -229,7 +229,7 @@
+ /* Return nonzero if VALUE is not a number.  */
+-__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.  */