X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fisnanf-nolibm.h;h=9d550e0977507d46b507415647ff597f31ac4cf0;hb=dc84183747ce1703eb99685b5dbde1f65a143c06;hp=4f90031fbebc9e78101c31266a0abd2cdc0f5ff3;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/lib/isnanf-nolibm.h b/lib/isnanf-nolibm.h index 4f90031..9d550e0 100644 --- a/lib/isnanf-nolibm.h +++ b/lib/isnanf-nolibm.h @@ -1,5 +1,5 @@ /* Test for NaN that does not need libm. - Copyright (C) 2007-2010 Free Software Foundation, Inc. + Copyright (C) 2007-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,6 +24,13 @@ # elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) +# else + /* Get declaration of isnanf(), if not declared in . */ +# if defined __sgi + /* We can't include , because it conflicts with our definition of + isnand. Therefore declare isnanf separately. */ +extern int isnanf (float x); +# endif # endif #else /* Test whether X is a NaN. */