From: Serhiy Storchaka Date: Thu, 25 Jul 2024 14:31:57 +0000 (+0300) Subject: gh-116322: Fix typo in the #ifdef check (#122268) X-Git-Tag: v3.14.0a1~989 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bb2e4623f504c44655436eae181d802f544fff9;p=thirdparty%2FPython%2Fcpython.git gh-116322: Fix typo in the #ifdef check (#122268) --- diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index 73ad9711b6b0..efc74dafb5fc 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -251,7 +251,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int module_api_version) } } m->md_def = module; -#ifdef Py_GIL_DISABLE +#ifdef Py_GIL_DISABLED m->md_gil = Py_MOD_GIL_USED; #endif return (PyObject*)m;