mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584)
This commit is contained in:
parent
102685c4c8
commit
ef83b3fc00
12 changed files with 23 additions and 23 deletions
|
|
@ -36,8 +36,8 @@
|
|||
*/
|
||||
|
||||
#ifndef Py_NOGIL
|
||||
// Need limited C API version 3.13 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030d0000
|
||||
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030c0000
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue