Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.

This commit is contained in:
Guido van Rossum 1997-03-14 04:32:25 +00:00
parent f0958064f9
commit 1aeb1047ba
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ extern "C" {
/* Define locally if they are not defined in Python. This gives only /* 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. * the limited control to induce a core dump in case of an exception.
*/ */
#include <setjmp.h>
static jmp_buf PyFPE_jbuf; static jmp_buf PyFPE_jbuf;
static int PyFPE_counter = 0; static int PyFPE_counter = 0;
#endif #endif