Skip to content

Commit f7d80b2

Browse files
committed
Fix compiler detection logic
1 parent 2ea4123 commit f7d80b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval_macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#define TAIL_CALL_ARGS frame, stack_pointer, tstate, next_instr, oparg
7575

7676
#if Py_TAIL_CALL_INTERP
77-
# ifdef _MSC_VER
77+
# if defined(_MSC_VER) && !defined(__clang__)
7878
# define Py_MUSTTAIL [[msvc::musttail]]
7979
# define Py_PRESERVE_NONE_CC __preserve_none
8080
# else

0 commit comments

Comments
 (0)