Commit 63ed2429 authored by Stefan Behnel's avatar Stefan Behnel

Correct CPython version check: _PyThreadState_UncheckedGet() was not added before 3.5.2.

parent 0b096e93
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000 #if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
#define __Pyx_PyThreadState_Current PyThreadState_GET() #define __Pyx_PyThreadState_Current PyThreadState_GET()
#elif PY_VERSION_HEX >= 0x03050000 #elif PY_VERSION_HEX >= 0x03050200
#define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
#elif PY_VERSION_HEX >= 0x03000000 #elif PY_VERSION_HEX >= 0x03000000
#define __Pyx_PyThreadState_Current PyThreadState_Get() #define __Pyx_PyThreadState_Current PyThreadState_Get()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment