[libvirt] [PATCH] python: Don't declare Py_ssize_t for Python 2.6

2011-06-24 Thread Matthias Bolte
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 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [libvirt] [PATCH] python: Don't declare Py_ssize_t for Python 2.6

2011-06-24 Thread Eric Blake
On 06/24/2011 11:36 AM, Matthias Bolte wrote: 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. Ah, well I guessed wrong. Adjust the check to match Python 2.5 to fix this. ACK. ---

Re: [libvirt] [PATCH] python: Don't declare Py_ssize_t for Python 2.6

2011-06-24 Thread Matthias Bolte
2011/6/24 Eric Blake ebl...@redhat.com: On 06/24/2011 11:36 AM, Matthias Bolte wrote: 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. Ah, well I guessed wrong. Adjust the check to match