diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-26 21:08:54 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-26 21:08:54 (GMT) |
commit | 4de2924dabea037919fc7a80f94dbe233c68c46e (patch) | |
tree | aa13907d694587482ca4182f0f872b7314135db7 /Objects | |
parent | 192b10b371e3e72b121d8ffda60b43580b49d506 (diff) | |
download | cpython-4de2924dabea037919fc7a80f94dbe233c68c46e.zip cpython-4de2924dabea037919fc7a80f94dbe233c68c46e.tar.gz cpython-4de2924dabea037919fc7a80f94dbe233c68c46e.tar.bz2 |
Fix compilation error for #15422
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/methodobject.c | 3 |
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) { |