aboutsummaryrefslogtreecommitdiff
path: root/src/backend/main/main.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
commitf8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch)
treeb8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /src/backend/main/main.c
parent0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff)
downloadpostgresql-f8ff1ee5aab125fc1e5e130e6055a0e6586ce440.tar.gz
postgresql-f8ff1ee5aab125fc1e5e130e6055a0e6586ce440.zip
Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
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 1ead86f4c33..9e2543b3b14 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.32 2000/10/07 14:39:07 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.33 2000/10/21 22:36:11 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,7 +17,7 @@
#include <pwd.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
@@ -43,7 +43,7 @@ main(int argc, char *argv[])
{
int len;
-#if defined(__alpha__)
+#if defined(__alpha)
#ifdef NOFIXADE
int buffer[] = {SSIN_UACPROC, UAC_SIGBUS};
@@ -71,7 +71,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)
elog(NOTICE, "setsysinfo failed: %d\n", errno);