summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/methodobject.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 5d9f364..5b799c9 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)
{