diff options
author | Christian Heimes <christian@python.org> | 2022-01-13 08:46:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 08:46:04 (GMT) |
commit | a6ca8eee2254762422f90cf94fbaac34f85db780 (patch) | |
tree | 6017b6edc8445b18afc5ec23c5e75a4bdb983ba5 /Python/pyfpe.c | |
parent | 1de60155d5d01be2924e72fb68dd13d4fd00acd7 (diff) | |
download | cpython-a6ca8eee2254762422f90cf94fbaac34f85db780.zip cpython-a6ca8eee2254762422f90cf94fbaac34f85db780.tar.gz cpython-a6ca8eee2254762422f90cf94fbaac34f85db780.tar.bz2 |
bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)
Diffstat (limited to 'Python/pyfpe.c')
-rw-r--r-- | Python/pyfpe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/pyfpe.c b/Python/pyfpe.c index 31ef5d7..9b1260f 100644 --- a/Python/pyfpe.c +++ b/Python/pyfpe.c @@ -3,9 +3,12 @@ * though, because they may be referenced by extensions using the stable ABI. */ -#include "setjmp.h" +#ifdef HAVE_SETJMP_H +#include <setjmp.h> jmp_buf PyFPE_jbuf; +#endif + int PyFPE_counter; double |