Fix compilation error for #15422

This commit is contained in:
Andrew Svetlov 2012-12-26 23:08:54 +02:00
parent 192b10b371
commit 4de2924dab
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{