mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (#124663)
This commit is contained in:
parent
2e155536ca
commit
0881e2d3b1
4 changed files with 12 additions and 0 deletions
|
@ -55,6 +55,10 @@
|
|||
# include <intrin.h> // __readgsqword()
|
||||
#endif
|
||||
|
||||
#if defined(Py_GIL_DISABLED) && defined(__MINGW32__)
|
||||
# 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