Commit 1178c4f6 authored by Stefan Behnel's avatar Stefan Behnel

Avoid depending on some C macros in the buildenv.pyx test that might not be...

Avoid depending on some C macros in the buildenv.pyx test that might not be defined (specifically on MSVC, as usual).
parent 32687e07
......@@ -22,6 +22,12 @@ cdef extern from *:
#ifndef PyLong_MASK
#define PyLong_MASK 0
#endif
#ifndef SIZEOF_UINTPTR_T
#define SIZEOF_UINTPTR_T 0
#endif
#ifndef SIZEOF_OFF_T
#define SIZEOF_OFF_T 0
#endif
"""
# Python runtime
cdef long PY_VERSION_HEX
......
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