mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
util.h: add a typedef for Py_ssize_t with Python 2.4
This commit is contained in:
parent
cd32848f59
commit
afeb0ce18a
@ -101,5 +101,9 @@
|
||||
|
||||
#endif /* PY_VERSION_HEX */
|
||||
|
||||
#if (PY_VERSION_HEX < 0x02050000)
|
||||
typedef int Py_ssize_t;
|
||||
#endif
|
||||
|
||||
#endif /* _HG_UTIL_H_ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user