bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)

This commit is contained in:
Christian Heimes 2022-01-13 10:46:04 +02:00 committed by GitHub
parent 1de60155d5
commit a6ca8eee22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 90 additions and 14 deletions

View file

@ -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