Skip to content

Commit dcae578

Browse files
committed
Remove __alpha__ additions in main.c but document that they are missing.
1 parent 887b5a7 commit dcae578

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/main/main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
*
1515
* IDENTIFICATION
16-
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.67 2003/12/22 23:36:38 momjian Exp $
16+
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.68 2003/12/23 00:34:04 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -23,7 +23,7 @@
2323
#include <pwd.h>
2424
#include <unistd.h>
2525

26-
#if (defined(__alpha) || defined(__alpha__)) && defined(__osf__)
26+
#if defined(__alpha) && defined(__osf__) /* no __alpha__ ? */
2727
#include <sys/sysinfo.h>
2828
#include "machine/hal_sysinfo.h"
2929
#define ASSEMBLER
@@ -63,22 +63,22 @@ main(int argc, char *argv[])
6363
* without help. Avoid adding more here, if you can.
6464
*/
6565

66-
#if defined(__alpha) || defined(__alpha__)
66+
#if defined(__alpha) /* no __alpha__ ? */
6767
#ifdef NOFIXADE
6868
int buffer[] = {SSIN_UACPROC, UAC_SIGBUS};
6969
#endif /* NOFIXADE */
7070
#ifdef NOPRINTADE
7171
int buffer[] = {SSIN_UACPROC, UAC_NOPRINT};
7272
#endif /* NOPRINTADE */
73-
#endif /* __alpha || __alpha__ */
73+
#endif /* __alpha */
7474

7575
#if defined(NOFIXADE) || defined(NOPRINTADE)
7676

7777
#if defined(ultrix4)
7878
syscall(SYS_sysmips, MIPS_FIXADE, 0, NULL, NULL, NULL);
7979
#endif
8080

81-
#if defined(__alpha) || defined(__alpha__)
81+
#if defined(__alpha) /* no __alpha__ ? */
8282
if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL,
8383
(unsigned long) NULL) < 0)
8484
fprintf(stderr, gettext("%s: setsysinfo failed: %s\n"),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy