Commits

Andriy Kornatskyy  committed 63aeb79

Fixed compatibility issue with python2.4.

  • Participants
  • Parent commits a7c5b3d

Comments (0)

Files changed (1)

File src/wheezy/html/boost.c

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