From: Andrew Svetlov Date: Wed, 26 Dec 2012 21:08:54 +0000 (+0200) Subject: Fix compilation error for #15422 X-Git-Tag: v3.4.0a1~1763 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4de2924dabea037919fc7a80f94dbe233c68c46e;p=thirdparty%2FPython%2Fcpython.git Fix compilation error for #15422 --- diff --git a/Objects/methodobject.c b/Objects/methodobject.c index 5d9f36403424..5b799c96729f 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -13,6 +13,9 @@ static int numfree = 0; #define PyCFunction_MAXFREELIST 256 #endif +/* undefine macro trampoline to PyCFunction_NewEx */ +#undef PyCFunction_New + PyObject * PyCFunction_New(PyMethodDef *ml, PyObject *self) {