mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
gh-130039: Tailcall for windows builds (GH-130040)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
4192ce17ba
commit
a8ee1e16f5
4 changed files with 25 additions and 11 deletions
|
|
@ -23,7 +23,7 @@ extern "C" {
|
|||
declaration \
|
||||
_GENERATE_DEBUG_SECTION_LINUX(name)
|
||||
|
||||
#if defined(MS_WINDOWS)
|
||||
#if defined(MS_WINDOWS) && !defined(__clang__)
|
||||
#define _GENERATE_DEBUG_SECTION_WINDOWS(name) \
|
||||
_Pragma(Py_STRINGIFY(section(Py_STRINGIFY(name), read, write))) \
|
||||
__declspec(allocate(Py_STRINGIFY(name)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue