]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix compilation error for #15422
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 26 Dec 2012 21:08:54 +0000 (23:08 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 26 Dec 2012 21:08:54 +0000 (23:08 +0200)
Objects/methodobject.c

index 5d9f36403424ee4a07effe1ed8d62f2b86db0782..5b799c96729f45c6036f165c0bb86b988573cff0 100644 (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)
 {