diff options
author | Victor Stinner <vstinner@python.org> | 2023-11-01 03:24:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 03:24:33 (GMT) |
commit | ef83b3fc00716e16c54c7030326809c374c33161 (patch) | |
tree | c10f22c4e2bf540c5b74cf0279e6a6c0666a5d4e /Include | |
parent | 102685c4c8481ec5d9c132fcf06b46057e815969 (diff) | |
download | cpython-ef83b3fc00716e16c54c7030326809c374c33161.zip cpython-ef83b3fc00716e16c54c7030326809c374c33161.tar.gz cpython-ef83b3fc00716e16c54c7030326809c374c33161.tar.bz2 |
gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/moduleobject.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h index 2f7dc25..52a47f1 100644 --- a/Include/moduleobject.h +++ b/Include/moduleobject.h @@ -82,10 +82,10 @@ struct PyModuleDef_Slot { #endif /* New in 3.5 */ /* for Py_mod_multiple_interpreters: */ -#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000 -#define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0) -#define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1) -#define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2) +#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 +# define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0) +# define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1) +# define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2) #endif struct PyModuleDef { |