diff options
Diffstat (limited to 'missing.h')
-rw-r--r-- | missing.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -62,11 +62,13 @@ extern double erf(double); extern double erfc(double); #endif -#ifndef HAVE_ISINF -# if defined(HAVE_FINITE) && defined(HAVE_ISNAN) -# define isinf(x) (!finite(x) && !isnan(x)) -# else +#ifndef isinf +# ifndef HAVE_ISINF +# if defined(HAVE_FINITE) && defined(HAVE_ISNAN) +# define isinf(x) (!finite(x) && !isnan(x)) +# else extern int isinf(double); +# endif # endif #endif |