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
This commit is contained in:
parent
645b587788
commit
4a5135c34e
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* NOTE
|
||||||
* XXX this code needs improvement--check for state violations and
|
* XXX this code needs improvement--check for state violations and
|
||||||
@ -183,7 +183,7 @@ ExcRaise(Exception *excP,
|
|||||||
|
|
||||||
ExcCurFrameP = efp->link;
|
ExcCurFrameP = efp->link;
|
||||||
|
|
||||||
#if !defined (SIGJMP_BUF)
|
#if defined (JMP_BUF)
|
||||||
longjmp(efp->context, 1);
|
longjmp(efp->context, 1);
|
||||||
#else
|
#else
|
||||||
siglongjmp(efp->context, 1);
|
siglongjmp(efp->context, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user