aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1996-12-27 13:13:58 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1996-12-27 13:13:58 +0000
commit4a5135c34e11859ebad5a59801a0b93531c4ad55 (patch)
tree6357664942a58f4ea93b7bf09717cf6e3f9df1c2
parent645b5877881c558303aa5c82863381d53a4286d7 (diff)
downloadpostgresql-4a5135c34e11859ebad5a59801a0b93531c4ad55.tar.gz
postgresql-4a5135c34e11859ebad5a59801a0b93531c4ad55.zip
There was JMP_BUF defined in config.h. And SIGJMP_BUF later.
And now - JMP_BUF again. Is it enough, folks ? Fixed again: cc1: warnings being treated as errors exc.c: In function 'ExcRaise': exc.c:187: warning: passing arg 1 of 'Longjmp' from incompatible pointer type gmake[3]: *** [exc.o] Error 1
-rw-r--r--src/backend/utils/error/exc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/error/exc.c b/src/backend/utils/error/exc.c
index aa3b8274eaa..1caa5bca93f 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.8 1996/12/14 08:26:34 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.9 1996/12/27 13:13:58 vadim Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
@@ -183,7 +183,7 @@ ExcRaise(Exception *excP,
ExcCurFrameP = efp->link;
-#if !defined (SIGJMP_BUF)
+#if defined (JMP_BUF)
longjmp(efp->context, 1);
#else
siglongjmp(efp->context, 1);