Fix intptr_t fallback for Py_ssize_t.

This commit is contained in:
Martin v. Löwis 2006-02-18 18:26:55 +00:00
parent 5bb8a15593
commit 2d65b5542b
1 changed files with 1 additions and 1 deletions

View File

@ -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