From e01c8fec564323b0de89ce149b2b0e2207b01baf Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Wed, 6 Mar 2013 16:55:24 -0500 Subject: [PATCH] Fix #65 --- py3.h | 1 + 1 file changed, 1 insertion(+) diff --git a/py3.h b/py3.h index 85979c81c..b94b83b6c 100644 --- a/py3.h +++ b/py3.h @@ -18,6 +18,7 @@ #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AS_LONG PyLong_AS_LONG +#define PyInt_FromSsize_t PyLong_FromSsize_t #else /* PY_VERSION_HEX < 0x03000000 */ #define PY_ARG_BYTES_LENGTH "s#"