summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--typewrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/typewrappers.h b/typewrappers.h
index 70c15d9..87ea1e5 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -22,7 +22,7 @@
#endif
/* Work around really old python. */
-#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 7
+#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
typedef ssize_t Py_ssize_t;
#endif