Skip to content

Commit

Permalink
PEP 703: Accept new Py_GIL_DISABLED macro in addition to PY_NOGIL (
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 20, 2023
1 parent 5e77b98 commit fcd5a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cython/Utility/ModuleSetupCode.c
Expand Up @@ -243,7 +243,7 @@
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
#endif

#elif defined(PY_NOGIL)
#elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL)
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_CPYTHON 0
#define CYTHON_COMPILING_IN_LIMITED_API 0
Expand Down

0 comments on commit fcd5a49

Please sign in to comment.