isnanf-nolibm: Make it work on IRIX 6.5 with cc.
[gnulib.git] / lib / isnanf-nolibm.h
index 5270387..17b3dea 100644 (file)
 # elif defined isnan
 #  undef isnanf
 #  define isnanf(x) isnan ((float)(x))
+# else
+   /* Get declaration of isnanf(), if not declared in <math.h>.  */
+#  if defined __sgi
+#   include <ieeefp.h>
+#  endif
 # endif
 #else
 /* Test whether X is a NaN.  */