提交 f6c0fc19 编写于 作者: B Bruce Momjian

The real trick is to add -Dalpha to the CFLAGS setting. The changes

to main.c are only to add some extra includes to support some code
that's suddenly being used.

The #define ASSEMBLER is to prevent most of the code of sys/proc.h
from being included, as it ends up conflicting with some of the
postgresql definitions.  This may or may not work on other versions
of Digital Unix.


Get alpha working.  Yea.  Dwayne Bailey
上级 d705aa81
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.14 1998/02/26 04:31:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.15 1998/03/20 03:55:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -15,6 +15,13 @@
#include <string.h>
#include <unistd.h>
#ifdef alpha
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>
#define ASSEMBLER
#include <sys/proc.h>
#undef ASSEMBLER
#endif
#include "postgres.h"
#ifdef USE_LOCALE
#include <locale.h>
......
......@@ -5,7 +5,7 @@ AROPT:crs
# This is defined here because a bunch of clients include tmp/c.h,
# which is where the work is done on HP-UX. It only affects the
# backend on Ultrix and OSF/1.
CFLAGS:-DNOFIXADE
CFLAGS:-DNOFIXADE -Dalpha
SHARED_LIB:
ALL:
SRCH_INC:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册