Mercurial > hg > octave-lojdl > gnulib-hg
changeset 16647:c7d27bd249a7
isnanf-nolibm: Fix last commit.
* lib/isnanf-nolibm.h [IRIX]: Don't include <ieeefp.h>. Declare isnanf.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 10 Mar 2012 16:53:36 +0100 |
parents | e0066a03e708 |
children | 3d6960c42cc1 |
files | ChangeLog lib/isnanf-nolibm.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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>.
--- a/lib/isnanf-nolibm.h +++ b/lib/isnanf-nolibm.h @@ -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