This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
math.h
- From: Søren Holm <sgh at sgh dot dk>
- To: newlib at sourceware dot org
- Date: Sun, 31 Jan 2010 23:31:47 +0100
- Subject: math.h
Hi
I have just compile newlib 1.18 and I'm wondering why isnanf suddenly is not
declared anymore. I end up figuring out that the patch attached to this email
fixes the problem. Is this an error in newlib?
/Søren Holm
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 7571e46..f36d981 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -3,7 +3,7 @@
#define _MATH_H_
#include <sys/reent.h>
-#include <machine/ieeefp.h>
+#include <ieeefp.h>
#include "_ansi.h"
_BEGIN_STD_C