Skip to content

Commit 9118688

Browse files
committed
Fix version check for Py_mod_gil
1 parent 9e279cb commit 9118688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tornado/speedups.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static PyModuleDef_Slot slots[] = {
6565
#if (!defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030c0000) || Py_LIMITED_API >= 0x030c0000
6666
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
6767
#endif
68-
#if !defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030d0000
68+
#if (!defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030d0000) || Py_LIMITED_API >= 0x030d0000
6969
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
7070
#endif
7171
{0, NULL}

0 commit comments

Comments
 (0)