Skip to content

Commit 4de2924

Browse files
committed
Fix compilation error for #15422
1 parent 192b10b commit 4de2924

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Objects/methodobject.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ static int numfree = 0;
1313
#define PyCFunction_MAXFREELIST 256
1414
#endif
1515

16+
/* undefine macro trampoline to PyCFunction_NewEx */
17+
#undef PyCFunction_New
18+
1619
PyObject *
1720
PyCFunction_New(PyMethodDef *ml, PyObject *self)
1821
{

0 commit comments

Comments
 (0)