Commits

Andriy Kornatskyy committed 63aeb79

Fixed compatibility issue with python2.4.

Comments (0)

Files changed (1)

src/wheezy/html/boost.c

 
 #include <Python.h>
 
-#if !defined(Py_ssize_t)
+#if PY_VERSION_HEX < 0x02050000
 typedef int Py_ssize_t;
 #endif