From 10afe5d96bc3d562958e905102de1db44188ac2b Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 18 Mar 2008 21:14:28 +0000 Subject: Make the sigsetjmp change more robust. On systems that don't have sigsetjmp use setjmp. Windows is of course weird in that it seems to have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in config.w32.h.in --- Zend/zend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend.c') diff --git a/Zend/zend.c b/Zend/zend.c index a7bd8a773d..71b39fcb74 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -794,7 +794,7 @@ ZEND_API void _zend_bailout(char *filename, uint lineno) /* {{{ */ CG(unclean_shutdown) = 1; CG(in_compilation) = EG(in_execution) = 0; EG(current_execute_data) = NULL; - siglongjmp(*EG(bailout), FAILURE); + LONGJMP(*EG(bailout), FAILURE); } /* }}} */ END_EXTERN_C() -- cgit v1.2.1