X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisnanf-nolibm.h;h=dc43863a6986a6e4245b68d2b48ab04695e4e414;hb=a0f402b76e57d57abd1961f20683a25d46179297;hp=88262740e390f76b7f2c3c8e4f3309665555af65;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/isnanf-nolibm.h b/lib/isnanf-nolibm.h index 88262740e..dc43863a6 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-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2013 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. */