mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
[3.13] gh-120326: Include <intrin.h> on Windows with Free Threading (GH-120329) (#120414)
gh-120326: Include <intrin.h> on Windows with Free Threading (GH-120329)
(cherry picked from commit 939c201e00
)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
f0788cb419
commit
8e5caa72c2
2 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,10 @@
|
|||
# error "The limited API is not currently supported in the free-threaded build"
|
||||
#endif
|
||||
|
||||
#if defined(Py_GIL_DISABLED) && defined(_MSC_VER)
|
||||
# include <intrin.h> // __readgsqword()
|
||||
#endif
|
||||
|
||||
// Include Python header files
|
||||
#include "pyport.h"
|
||||
#include "pymacro.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue