From eafcef38f6424c690db96241d9a44cd4360ef80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Thu, 24 Nov 2011 22:26:29 +0100 Subject: [PATCH] Do not pretend Python 2.5 is supported --- pygit2.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pygit2.c b/pygit2.c index 6c3d32f..874e667 100644 --- a/pygit2.c +++ b/pygit2.c @@ -30,14 +30,6 @@ #include #include -/* Python 2.5 support */ -#ifndef Py_TYPE - #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) -#endif -#ifndef PyVarObject_HEAD_INIT - #define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size, -#endif - /* Python 3 support */ #if PY_MAJOR_VERSION >= 3 #define PyInt_AsLong PyLong_AsLong