aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-04-27 14:46:51 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-04-27 14:46:51 +0000
commit1af6b56427fa5afbca88849c428bc872d60ad941 (patch)
tree35a932fdbf42f5e912d7aef7927b4ec9aeeadd57 /src/backend/utils/adt/float.c
parent718430ea4019db3bcb36b51b44e08a1b2163eae8 (diff)
downloadpostgresql-1af6b56427fa5afbca88849c428bc872d60ad941.tar.gz
postgresql-1af6b56427fa5afbca88849c428bc872d60ad941.zip
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Ok, I have finally gotten all of the defines for Dec/Alpha and Linux/Alpha sorted out as Marc asked. There is no longer any need for '-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha template files (./src/template/{alpha,linuxalpha}). I have replaced every instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be the common symbol between C compilers on both operating systems (RH4.2 & DecUnix 4.0b) for alpha.
Diffstat (limited to 'src/backend/utils/adt/float.c')
-rw-r--r--src/backend/utils/adt/float.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c
index 6f27e14c398..b5c79d304b3 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.30 1998/04/12 02:58:17 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.31 1998/04/27 14:43:38 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -132,7 +132,7 @@ extern int isinf(double x);
* until the distributions are updated.
* --djm 12/16/96
*/
-#if ( defined(linux) && defined(alpha) ) && !defined(UNSAFE_FLOATS)
+#if ( defined(linux) && defined(__alpha) ) && !defined(UNSAFE_FLOATS)
#define UNSAFE_FLOATS
#endif