Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1aeb104

Browse files
committed
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
1 parent f095806 commit 1aeb104

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/fpectlmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ extern "C" {
7272
/* Define locally if they are not defined in Python. This gives only
7373
* the limited control to induce a core dump in case of an exception.
7474
*/
75+
#include <setjmp.h>
7576
static jmp_buf PyFPE_jbuf;
7677
static int PyFPE_counter = 0;
7778
#endif

0 commit comments

Comments
 (0)