From e011d950ab805892358425359941c1ae08f2510b Mon Sep 17 00:00:00 2001 From: oda-gitso Date: Wed, 15 Feb 2023 06:28:13 +0700 Subject: [PATCH] Remove unnecessary undefs for non-existent/old macros Py_EnterRecursiveCall and Py_LeaveRecursiveCall --- Python/ceval.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index a91f5baca8853e..d74914f7348f18 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3072,15 +3072,11 @@ maybe_dtrace_line(_PyInterpreterFrame *frame, /* Implement Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as functions for the limited API. */ -#undef Py_EnterRecursiveCall - int Py_EnterRecursiveCall(const char *where) { return _Py_EnterRecursiveCall(where); } -#undef Py_LeaveRecursiveCall - void Py_LeaveRecursiveCall(void) { _Py_LeaveRecursiveCall();