bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) by tiran · Pull Request #30507 · python/cpython

erlend-aasland

@tiran

* add check for HAVE_CLOCK
* use HAVE_PTHREAD_H to guard include of pthread.h
* guard getpid() with HAVE_GETPID
* guard clock() with HAVE_CLOCK
* add checks for HAVE_UMASK and HAVE_CHMOD
* guard include of setjmp.h
* use signal emulation on WASI

@tiran tiran changed the title bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)

Jan 13, 2022

@tiran tiran deleted the bpo-46315-wasi branch

January 13, 2022 08:46

@tiran tiran mentioned this pull request

Oct 4, 2022