util.h: add a typedef for Py_ssize_t with Python 2.4

This commit is contained in:
Matt Mackall 2012-04-08 22:17:51 -05:00
parent cd32848f59
commit afeb0ce18a

View File

@ -101,5 +101,9 @@
#endif /* PY_VERSION_HEX */
#if (PY_VERSION_HEX < 0x02050000)
typedef int Py_ssize_t;
#endif
#endif /* _HG_UTIL_H_ */