aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/ceval_macros.h
diff options
context:
space:
mode:
authorKen Jin <kenjin@python.org>2025-02-16 03:01:24 +0800
committerGitHub <noreply@github.com>2025-02-16 03:01:24 +0800
commit359c7dde3bb074e029686913f531457eb121d1dd (patch)
tree7e1bde51266af303cc80f8498a6b21c3ff1638b3 /Python/ceval_macros.h
parentc26bed1160978fe8b1844878b8123778e47870c6 (diff)
downloadcpython-359c7dde3bb074e029686913f531457eb121d1dd.tar.gz
cpython-359c7dde3bb074e029686913f531457eb121d1dd.zip
gh-129989: Properly disable tailcall interp in configure (GH-129991)
Co-authored-by: Zanie Blue <contact@zanie.dev>
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index 2cb78fa80b4..1bef2b845d0 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -73,7 +73,7 @@
#define TAIL_CALL_PARAMS _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate, _Py_CODEUNIT *next_instr, int oparg
#define TAIL_CALL_ARGS frame, stack_pointer, tstate, next_instr, oparg
-#ifdef Py_TAIL_CALL_INTERP
+#if Py_TAIL_CALL_INTERP
// Note: [[clang::musttail]] works for GCC 15, but not __attribute__((musttail)) at the moment.
# define Py_MUSTTAIL [[clang::musttail]]
# define Py_PRESERVE_NONE_CC __attribute__((preserve_none))