diff options
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index 93ce6039c..847cd55e3 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -921,7 +921,7 @@ static void __Pyx_FastGilFuncInit(void); #if PY_VERSION_HEX >= 0x03050000 #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() #elif PY_VERSION_HEX >= 0x03000000 - #define __Pyx_PyThreadState_Current (PyThreadState*)_Py_atomic_load_relaxed(_PyThreadState_Current) + #define __Pyx_PyThreadState_Current PyThreadState_Get() #elif PY_VERSION_HEX < 0x02070000 #undef CYTHON_THREAD_LOCAL #else |