mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-95174: Add pthread stubs for WASI (GH-95234)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
226d02bb10
commit
0fe645d6fd
17 changed files with 332 additions and 41 deletions
|
@ -7,7 +7,9 @@
|
|||
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
|
||||
#define destructor xxdestructor
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
#ifndef HAVE_PTHREAD_STUBS
|
||||
# include <pthread.h>
|
||||
#endif
|
||||
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
|
||||
#undef destructor
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue