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 /pyconfig.h.in | |
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 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index f496b77..2182219 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -127,6 +127,9 @@ /* Define to 1 if you have the 'chflags' function. */ #undef HAVE_CHFLAGS +/* Define to 1 if you have the `chmod' function. */ +#undef HAVE_CHMOD + /* Define to 1 if you have the `chown' function. */ #undef HAVE_CHOWN @@ -977,6 +980,9 @@ /* Define to 1 if you have the `setitimer' function. */ #undef HAVE_SETITIMER +/* Define to 1 if you have the <setjmp.h> header file. */ +#undef HAVE_SETJMP_H + /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE @@ -1336,6 +1342,9 @@ /* Define this if you have tcl and TCL_UTF_MAX==6 */ #undef HAVE_UCS4_TCL +/* Define to 1 if you have the `umask' function. */ +#undef HAVE_UMASK + /* Define to 1 if you have the `uname' function. */ #undef HAVE_UNAME @@ -1704,6 +1713,9 @@ /* Define to force use of thread-safe errno, h_errno, and other functions */ #undef _REENTRANT +/* Define to 1 if you want to emulate signals on WASI */ +#undef _WASI_EMULATED_SIGNAL + /* Define to the level of X/Open that your system supports */ #undef _XOPEN_SOURCE |