From: Bruce Momjian Date: Tue, 23 Dec 2003 00:34:04 +0000 (+0000) Subject: Remove __alpha__ additions in main.c but document that they are missing. X-Git-Tag: REL8_0_0BETA1~1459 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dcae5781d11d0c0c0f2405d5e9b7d5ba91336e07;p=postgresql Remove __alpha__ additions in main.c but document that they are missing. --- 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"),