summaryrefslogtreecommitdiff
path: root/src/port/isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/isinf.c')
-rw-r--r--src/port/isinf.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/port/isinf.c b/src/port/isinf.c
index 0ede85a265f..7bac8a09edf 100644
--- a/src/port/isinf.c
+++ b/src/port/isinf.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/isinf.c,v 1.7 2005/10/15 02:49:51 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/isinf.c,v 1.8 2006/01/05 01:56:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -74,18 +74,3 @@ isinf(double x)
}
#endif
#endif
-
-#ifdef __QNX__
-#include <float.h>
-
-int
-isinf(double x)
-{
- if (x == HUGE_VAL)
- return 1;
- if (x == -HUGE_VAL)
- return -1;
- return 0;
-}
-
-#endif