diff options
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h index 8fffa22df9d..e1abdd16f03 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -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" |