diff options
author | John Kirkham <kirkhamj@janelia.hhmi.org> | 2018-08-09 14:50:48 -0400 |
---|---|---|
committer | John Kirkham <kirkhamj@janelia.hhmi.org> | 2018-08-09 14:53:21 -0400 |
commit | fb15825299fd74733440d1700ff932463964682b (patch) | |
tree | 0a9ecae9354833d3a1f64fb68fbaf1755734f120 /Cython/Utility/ModuleSetupCode.c | |
parent | 62f66698ed54c384fc1769df8e867d4d9709d891 (diff) | |
download | cython-fb15825299fd74733440d1700ff932463964682b.tar.gz |
Tweak Raw memory macros' version constraint
Technically these functions were around in some of the Python 3.4
prereleases. So add a more accurate version constraint.
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 9f7e3d875..eb5d44c1e 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -441,7 +441,7 @@ class __Pyx_FakeReference { #define PyObject_Realloc(p) PyMem_Realloc(p) #endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x03040000 +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030400A1 #define PyMem_RawMalloc(n) PyMem_Malloc(n) #define PyMem_RawRealloc(p, n) PyMem_Realloc(p, n) #define PyMem_RawFree(p) PyMem_Free(p) |