mirror of https://github.com/python/cpython
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
This commit is contained in:
parent
f0958064f9
commit
1aeb1047ba
|
@ -72,6 +72,7 @@ extern "C" {
|
|||
/* Define locally if they are not defined in Python. This gives only
|
||||
* the limited control to induce a core dump in case of an exception.
|
||||
*/
|
||||
#include <setjmp.h>
|
||||
static jmp_buf PyFPE_jbuf;
|
||||
static int PyFPE_counter = 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue