From dcae5781d11d0c0c0f2405d5e9b7d5ba91336e07 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 23 Dec 2003 00:34:04 +0000 Subject: [PATCH] Remove __alpha__ additions in main.c but document that they are missing. --- src/backend/main/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 4fa07b29dc..854b163577 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -13,7 +13,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.67 2003/12/22 23:36:38 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.68 2003/12/23 00:34:04 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,7 +23,7 @@ #include #include -#if (defined(__alpha) || defined(__alpha__)) && defined(__osf__) +#if defined(__alpha) && defined(__osf__) /* no __alpha__ ? */ #include #include "machine/hal_sysinfo.h" #define ASSEMBLER @@ -63,14 +63,14 @@ main(int argc, char *argv[]) * without help. Avoid adding more here, if you can. */ -#if defined(__alpha) || defined(__alpha__) +#if defined(__alpha) /* no __alpha__ ? */ #ifdef NOFIXADE int buffer[] = {SSIN_UACPROC, UAC_SIGBUS}; #endif /* NOFIXADE */ #ifdef NOPRINTADE int buffer[] = {SSIN_UACPROC, UAC_NOPRINT}; #endif /* NOPRINTADE */ -#endif /* __alpha || __alpha__ */ +#endif /* __alpha */ #if defined(NOFIXADE) || defined(NOPRINTADE) @@ -78,7 +78,7 @@ main(int argc, char *argv[]) syscall(SYS_sysmips, MIPS_FIXADE, 0, NULL, NULL, NULL); #endif -#if defined(__alpha) || defined(__alpha__) +#if defined(__alpha) /* no __alpha__ ? */ if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL, (unsigned long) NULL) < 0) fprintf(stderr, gettext("%s: setsysinfo failed: %s\n"), -- 2.40.0