mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
This commit is contained in:
parent
f0958064f9
commit
1aeb1047ba
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue