mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)
This commit is contained in:
parent
1de60155d5
commit
a6ca8eee22
14 changed files with 90 additions and 14 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <signal.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h> // abort()
|
||||
#if defined(HAVE_PTHREAD_SIGMASK) && !defined(HAVE_BROKEN_PTHREAD_SIGMASK)
|
||||
#if defined(HAVE_PTHREAD_SIGMASK) && !defined(HAVE_BROKEN_PTHREAD_SIGMASK) && defined(HAVE_PTHREAD_H)
|
||||
# include <pthread.h>
|
||||
#endif
|
||||
#ifdef MS_WINDOWS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue