gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (#124663)

This commit is contained in:
Tony Roberts 2024-09-27 19:52:23 +01:00 committed by GitHub
parent 2e155536ca
commit 0881e2d3b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 0 deletions

View file

@ -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"