isnanf-nolibm: Fix last commit.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Mar 2012 15:53:36 +0000 (16:53 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 10 Mar 2012 15:55:07 +0000 (16:55 +0100)
* lib/isnanf-nolibm.h [IRIX]: Don't include <ieeefp.h>. Declare isnanf.

ChangeLog
lib/isnanf-nolibm.h

index 37268ee..625c856 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-03-10  Bruno Haible  <bruno@clisp.org>
 
+       isnanf-nolibm: Fix last commit.
+       * lib/isnanf-nolibm.h [IRIX]: Don't include <ieeefp.h>. Declare isnanf.
+
        isnanf-nolibm: Make it work on IRIX 6.5 with cc.
        * lib/isnanf-nolibm.h [IRIX]: Include <ieeefp.h>.
 
index 17b3dea..9d550e0 100644 (file)
@@ -27,7 +27,9 @@
 # else
    /* Get declaration of isnanf(), if not declared in <math.h>.  */
 #  if defined __sgi
-#   include <ieeefp.h>
+   /* We can't include <ieeefp.h>, because it conflicts with our definition of
+      isnand.  Therefore declare isnanf separately.  */
+extern int isnanf (float x);
 #  endif
 # endif
 #else