diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2017-06-29 16:43:32 -0700 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2017-06-29 16:43:32 -0700 |
commit | 8d285c5747a2bb0f21e16be4991832a8d141a19f (patch) | |
tree | 07f7263e27ee576cbdf68071eac6c1c89d289395 /Cython/Utility/ModuleSetupCode.c | |
parent | ae01715094634e28a28a461ac9688ef2feda6dad (diff) | |
download | cython-8d285c5747a2bb0f21e16be4991832a8d141a19f.tar.gz |
Another Python 3.3-3.4 fix.
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 |