diff options
Diffstat (limited to 'src/port/isinf.c')
-rw-r--r-- | src/port/isinf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/port/isinf.c b/src/port/isinf.c index 6eb881e41b4..e4823d4133d 100644 --- a/src/port/isinf.c +++ b/src/port/isinf.c @@ -22,6 +22,7 @@ #if HAVE_IEEEFP_H #include <ieeefp.h> #endif + int isinf(double d) { @@ -44,9 +45,9 @@ isinf(double d) #if HAVE_FP_CLASS_H #include <fp_class.h> #endif + int -isinf(x) -double x; +isinf(double x) { #if HAVE_FP_CLASS int fpclass = fp_class(x); @@ -60,7 +61,9 @@ double x; return -1; return 0; } + #elif defined(HAVE_CLASS) + int isinf(double x) { @@ -72,6 +75,7 @@ isinf(double x) return -1; return 0; } + #endif #endif |