]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Don't declare Py_ssize_t for Python 2.6
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 24 Jun 2011 17:34:56 +0000 (19:34 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 24 Jun 2011 17:34:56 +0000 (19:34 +0200)
commit9a48ed54f84086939607b5eb72bc6ffdef2ae400
treeb3e8e7e732224e19967b17cdbd12e85475bf1232
parentd772167f6d757f283d819f7860b8e7d18b6ed861
python: Don't declare Py_ssize_t for Python 2.6

Commit cd48c3f4e95597 added a Py_ssize_t typedef for Python < 2.7.
But Py_ssize_t was added in Python 2.5. This makes the build fail
for Python 2.6.

Adjust the check to match Python < 2.5 to fix this.
python/typewrappers.h