aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-04-20 00:26:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-04-20 00:26:32 +0000
commitd30e2ac306c26271474e1b96c087ff8e6d859ac2 (patch)
tree907d8d1bdaee1ad3bbdf099ec6a319b0b9be9d76 /src/backend/utils/adt/float.c
parent6eccfbc7277d622d7a82b23a338d7c8815859281 (diff)
downloadpostgresql-d30e2ac306c26271474e1b96c087ff8e6d859ac2.tar.gz
postgresql-d30e2ac306c26271474e1b96c087ff8e6d859ac2.zip
Portability patches for HPUX 11 and Unixware in configure
and related files. Also remove float.c's gratuitous redeclaration of isinf() ... looks like there are more decls in there that ought to be in config.h, but I'll leave well enough alone for now ...
Diffstat (limited to 'src/backend/utils/adt/float.c')
-rw-r--r--src/backend/utils/adt/float.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c
index cc45ea1860e..5e4e20d257f 100644
--- a/src/backend/utils/adt/float.c
+++ b/src/backend/utils/adt/float.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.40 1999/02/13 23:19:14 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.41 1999/04/20 00:26:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -74,10 +74,6 @@
#define SHRT_MIN (-32768)
#endif
-#ifndef NAN
-#define NAN (0.0/0.0)
-#endif
-
#define FORMAT 'g' /* use "g" output format as standard
* format */
/* not sure what the following should be, but better to make it over-sufficient */
@@ -112,9 +108,8 @@ extern double rint(double x);
#endif
-extern int isinf(double x);
-
#endif
+
/* ========== USER I/O ROUTINES ========== */