summaryrefslogtreecommitdiff
path: root/typewrappers.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2019-12-04 10:27:36 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2019-12-04 12:14:51 +0000
commitb22e4f2441078aec048b9503fde2b45e78710ce1 (patch)
tree9c06bcc560e4002401e3733aa22f79354d364300 /typewrappers.h
parente3fa4f22d5e9301e98a4d5bd420dee7d64150d64 (diff)
downloadlibvirt-python-b22e4f2441078aec048b9503fde2b45e78710ce1.tar.gz
Drop support for python 2
python2 will be end of life by the time of the next libvirt release. All our supported build targets, including CentOS7, have a python3 build available. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'typewrappers.h')
-rw-r--r--typewrappers.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/typewrappers.h b/typewrappers.h
index 486017a..fc923bf 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -22,11 +22,6 @@
# define ATTRIBUTE_UNUSED
#endif
-/* Work around really old python. */
-#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
-typedef ssize_t Py_ssize_t;
-#endif
-
#if !LIBVIR_CHECK_VERSION(4, 5, 0)
typedef struct _virNWFilterBinding *virNWFilterBindingPtr;
#endif