gh-116322: Fix typo in the #ifdef check (#122268)

This commit is contained in:
Serhiy Storchaka 2024-07-25 17:31:57 +03:00 committed by GitHub
parent 3998554bb0
commit 9bb2e4623f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int module_api_version)
} }
} }
m->md_def = module; m->md_def = module;
#ifdef Py_GIL_DISABLE #ifdef Py_GIL_DISABLED
m->md_gil = Py_MOD_GIL_USED; m->md_gil = Py_MOD_GIL_USED;
#endif #endif
return (PyObject*)m; return (PyObject*)m;