aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/error/exc.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-12 21:13:19 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-12 21:13:19 +0000
commit5dde558ce60db1f8747bbf745d56bd9cd5f4c7b7 (patch)
tree046cc029a35d6e30af46ea08f8eae259eb739a8d /src/backend/utils/error/exc.c
parentb66569e41fdecab3903fd8af6cbc8bb12ae653cd (diff)
downloadpostgresql-5dde558ce60db1f8747bbf745d56bd9cd5f4c7b7.tar.gz
postgresql-5dde558ce60db1f8747bbf745d56bd9cd5f4c7b7.zip
From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] linux/alpha patches These patches lay the groundwork for a Linux/Alpha port. The port doesn't actually work unless you tweak the linker to put all the pointers in the first 32 bits of the address space, but it's at least a start. It implements the test-and-set instruction in Alpha assembly, and also fixes a lot of pointer-to-integer conversions, which is probably good anyway.
Diffstat (limited to 'src/backend/utils/error/exc.c')
-rw-r--r--src/backend/utils/error/exc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/utils/error/exc.c b/src/backend/utils/error/exc.c
index 1caa5bca93f..9eae4ad109c 100644
--- a/src/backend/utils/error/exc.c
+++ b/src/backend/utils/error/exc.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.9 1996/12/27 13:13:58 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.10 1997/03/12 21:10:56 scrappy Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
@@ -95,7 +95,8 @@ ExcPrint(Exception *excP,
extern int sys_nerr;
#if !defined(BSD44_derived) && \
!defined(bsdi) && \
- !defined(bsdi_2_1)
+ !defined(bsdi_2_1) && \
+ !defined(linuxalpha)
extern char *sys_errlist[];
#endif /* ! bsd_derived */