summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-26 21:08:54 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-26 21:08:54 (GMT)
commit4de2924dabea037919fc7a80f94dbe233c68c46e (patch)
treeaa13907d694587482ca4182f0f872b7314135db7 /Objects
parent192b10b371e3e72b121d8ffda60b43580b49d506 (diff)
downloadcpython-4de2924dabea037919fc7a80f94dbe233c68c46e.zip
cpython-4de2924dabea037919fc7a80f94dbe233c68c46e.tar.gz
cpython-4de2924dabea037919fc7a80f94dbe233c68c46e.tar.bz2
Fix compilation error for #15422
Diffstat (limited to 'Objects')
-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)
{