aboutsummaryrefslogtreecommitdiff
path: root/src/backend/main/main.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/main/main.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/main/main.c')
-rw-r--r--src/backend/main/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index a654163cb86..9178570129d 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.16 1998/04/11 21:14:47 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.17 1998/04/27 14:43:02 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,7 +15,7 @@
#include <string.h>
#include <unistd.h>
-#if defined(alpha) && !defined(linux)
+#if defined(__alpha) && !defined(linux)
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>
#define ASSEMBLER
@@ -42,7 +42,7 @@ main(int argc, char *argv[])
{
int len;
-#if defined(alpha)
+#if defined(__alpha)
#ifdef NOFIXADE
int buffer[] = {SSIN_UACPROC, UAC_SIGBUS};
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
syscall(SYS_sysmips, MIPS_FIXADE, 0, NULL, NULL, NULL);
#endif
-#if defined(alpha)
+#if defined(__alpha)
if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL,
(unsigned long) NULL) < 0)
{