diff Objects/methodobject.c @ 81074:70ea05f762a1

Fix compilation error for #15422
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Wed, 26 Dec 2012 23:08:54 +0200
parents 3a86a3f1d89a
children e61381137b4a
line wrap: on
line diff
--- a/Objects/methodobject.c	Wed Dec 26 22:52:04 2012 +0200
+++ b/Objects/methodobject.c	Wed Dec 26 23:08:54 2012 +0200
@@ -13,6 +13,9 @@
 #define PyCFunction_MAXFREELIST 256
 #endif
 
+/* undefine macro trampoline to PyCFunction_NewEx */
+#undef PyCFunction_New
+
 PyObject *
 PyCFunction_New(PyMethodDef *ml, PyObject *self)
 {