commit | 2d65b5542bf788b0da29194f49c4458d9d9fdf24 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat Feb 18 18:26:55 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat Feb 18 18:26:55 2006 +0000 |
tree | 28d3bf58061e3979217442993c27b34293f3b85c | |
parent | 5bb8a155939865d213aca444c05cc6f355202232 [diff] [blame] |
Fix intptr_t fallback for Py_ssize_t.
diff --git a/Include/pyport.h b/Include/pyport.h index f3ba488..9111d86 100644 --- a/Include/pyport.h +++ b/Include/pyport.h
@@ -88,7 +88,7 @@ #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