Commit 2d65b554 authored by Martin v. Löwis's avatar Martin v. Löwis

Fix intptr_t fallback for Py_ssize_t.

parent 5bb8a155
......@@ -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
......
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