Fix intptr_t fallback for Py_ssize_t.
This commit is contained in:
parent
5bb8a15593
commit
2d65b5542b
|
@ -88,7 +88,7 @@ typedef PY_LONG_LONG Py_intptr_t;
|
|||
#ifdef HAVE_SSIZE_T
|
||||
typedef ssize_t Py_ssize_t;
|
||||
#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
|
||||
typedef Py_uintptr_t Py_ssize_t;
|
||||
typedef Py_intptr_t Py_ssize_t;
|
||||
#else
|
||||
# error "Python needs a typedef for Py_ssize_t in pyport.h."
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue