diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-18 18:26:55 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-18 18:26:55 (GMT) |
commit | 2d65b5542bf788b0da29194f49c4458d9d9fdf24 (patch) | |
tree | 28d3bf58061e3979217442993c27b34293f3b85c | |
parent | 5bb8a155939865d213aca444c05cc6f355202232 (diff) | |
download | cpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.zip cpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.tar.gz cpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.tar.bz2 |
Fix intptr_t fallback for Py_ssize_t.
-rw-r--r-- | Include/pyport.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 |