summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-01-16 19:57:58 +0100
committerStefan Behnel <stefan_ml@behnel.de>2014-01-16 19:57:58 +0100
commit9cec5b0e20feba572a2307d5eccd6d752ca09236 (patch)
tree53905f568119796c531fbfe3f3bf83b4dc9a645f /Cython/Utility/ModuleSetupCode.c
parent3eb43d07ead352089588bfc391012cdcea88cdef (diff)
downloadcython-9cec5b0e20feba572a2307d5eccd6d752ca09236.tar.gz
minor Py hex version fix for patch level when Py_hash_t was added (just in case someone still uses Py3.2 alpha versions)
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 88a134ea9..d040a2476 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -240,7 +240,7 @@
#define PyBoolObject PyLongObject
#endif
-#if PY_VERSION_HEX < 0x03020000
+#if PY_VERSION_HEX < 0x030200A4
typedef long Py_hash_t;
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
#define __Pyx_PyInt_AsHash_t PyInt_AsLong