Skip to content

Commit

Permalink
Fix intptr_t fallback for Py_ssize_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
loewis committed Feb 18, 2006
1 parent 5bb8a15 commit 2d65b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/pyport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d65b55

Please sign in to comment.