]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid python 2.4 build failure
authorEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 04:17:19 +0000 (22:17 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 14:28:56 +0000 (08:28 -0600)
commitcd48c3f4e95597eb1ac354a3f21ab087d5ab5239
treed7bee8bfc329f2f945b5cbfe4f29b53b66bde648
parent98d83094a0ca7f9d95ddecd4a8758069276dea99
build: avoid python 2.4 build failure

I'm not sure when Py_ssize_t was introduced; but Fedora 14 Python 2.7
has it, while RHEL 5 Python 2.4 lacks it.  It should be easy enough
to adjust if someone runs into problems.

* python/typewrappers.h (Py_ssize_t): Define for older python.
python/typewrappers.h