[Python-checkins] cpython: Fix compilation error for #15422
andrew.svetlov
python-checkins at python.org
Wed Dec 26 22:09:06 CET 2012
http://hg.python.org/cpython/rev/70ea05f762a1
changeset: 81074:70ea05f762a1
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Wed Dec 26 23:08:54 2012 +0200
summary:
Fix compilation error for #15422
files:
Objects/methodobject.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -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)
{
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list