diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-18 20:43:33 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-18 20:43:33 +0000 |
commit | 27981620380fcc4b76f33d3cb320935603a37170 (patch) | |
tree | 584fe2467d8d65345c10494eacebfb41f321a585 /src | |
parent | 7badb1e792acfadec6e86214ca1292e8465b7f97 (diff) | |
download | postgresql-27981620380fcc4b76f33d3cb320935603a37170.tar.gz postgresql-27981620380fcc4b76f33d3cb320935603a37170.zip |
cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/port/isinf.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/backend/port/isinf.c b/src/backend/port/isinf.c index e2193267073..7a45da91ddb 100644 --- a/src/backend/port/isinf.c +++ b/src/backend/port/isinf.c @@ -1,9 +1,11 @@ -/* $Id: isinf.c,v 1.11 1999/07/18 20:43:12 momjian Exp $ */ +/* $Id: isinf.c,v 1.12 1999/07/18 20:43:33 momjian Exp $ */ #include <math.h> + #include "config.h" -#if HAVE_FPCLASS +#if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not typo */ + #if HAVE_IEEEFP_H #include <ieeefp.h> #endif @@ -26,6 +28,7 @@ isinf(double d) #else #if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D) + #if HAVE_FP_CLASS_H #include <fp_class.h> #endif @@ -48,10 +51,7 @@ double x; return 0; } -#endif -#endif - -#if defined(HAVE_CLASS) +#else defined(HAVE_CLASS) int isinf(double x) { @@ -65,3 +65,5 @@ isinf(double x) } #endif +#endif +#endif |