Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdcae578

Browse files
committed
Remove __alpha__ additions in main.c but document that they are missing.
1 parent887b5a7 commitdcae578

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
#defineASSEMBLER
@@ -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
#ifdefNOFIXADE
6868
intbuffer[]= {SSIN_UACPROC,UAC_SIGBUS};
6969
#endif/* NOFIXADE */
7070
#ifdefNOPRINTADE
7171
intbuffer[]= {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)

[8]ページ先頭

©2009-2025 Movatter.jp