1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:53:43 +02:00

uClibc: add a wrapper for the missing finite() function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16170 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-05-29 09:25:51 +00:00
parent 5242105c94
commit 27f59d4c0e
2 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -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