Skip to content

Commit 4a5135c

Browse files
committed
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
1 parent 645b587 commit 4a5135c

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/error

1 file changed

+2
-2
lines changed

src/backend/utils/error/exc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.8 1996/12/14 08:26:34 vadim Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.9 1996/12/27 13:13:58 vadim Exp $
1111
*
1212
* NOTE
1313
* XXX this code needs improvement--check for state violations and
@@ -183,7 +183,7 @@ ExcRaise(Exception *excP,
183183

184184
ExcCurFrameP = efp->link;
185185

186-
#if !defined (SIGJMP_BUF)
186+
#if defined (JMP_BUF)
187187
longjmp(efp->context, 1);
188188
#else
189189
siglongjmp(efp->context, 1);

0 commit comments

Comments
 (0)