diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-25 14:43:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 14:43:54 (GMT) |
commit | eeb90704375e4a69332c0d4d308d619922524a12 (patch) | |
tree | e544ea106805909770d0a427a76b5bde1dbc28e1 /Modules | |
parent | 86e7c611ac5bf067a697afbee6f9162704fd22db (diff) | |
download | cpython-eeb90704375e4a69332c0d4d308d619922524a12.zip cpython-eeb90704375e4a69332c0d4d308d619922524a12.tar.gz cpython-eeb90704375e4a69332c0d4d308d619922524a12.tar.bz2 |
gh-109723: Fix build of _testclinic_limited on WASM (#109842)
Make sure that the Py_BUILD_CORE macro is not defined.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testclinic_limited.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/_testclinic_limited.c b/Modules/_testclinic_limited.c index 0b606c9..4273383 100644 --- a/Modules/_testclinic_limited.c +++ b/Modules/_testclinic_limited.c @@ -1,3 +1,9 @@ +// _testclinic_limited can built with the Py_BUILD_CORE_BUILTIN macro defined +// if one of the Modules/Setup files asks to build it as "static" (gh-109723). +#undef Py_BUILD_CORE +#undef Py_BUILD_CORE_MODULE +#undef Py_BUILD_CORE_BUILTIN + // For now, only limited C API 3.13 is supported #define Py_LIMITED_API 0x030d0000 |