From 2d65b5542bf788b0da29194f49c4458d9d9fdf24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 18 Feb 2006 18:26:55 +0000 Subject: [PATCH] Fix intptr_t fallback for Py_ssize_t. --- Include/pyport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pyport.h b/Include/pyport.h index f3ba4886084..9111d862285 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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