summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@gmail.com>2017-06-29 16:43:32 -0700
committerRobert Bradshaw <robertwb@gmail.com>2017-06-29 16:43:32 -0700
commit8d285c5747a2bb0f21e16be4991832a8d141a19f (patch)
tree07f7263e27ee576cbdf68071eac6c1c89d289395 /Cython/Utility/ModuleSetupCode.c
parentae01715094634e28a28a461ac9688ef2feda6dad (diff)
downloadcython-8d285c5747a2bb0f21e16be4991832a8d141a19f.tar.gz
Another Python 3.3-3.4 fix.
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r--Cython/Utility/ModuleSetupCode.c2
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