This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]