gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)

This commit is contained in:
Steve Dower 2023-12-13 15:38:45 +00:00 committed by GitHub
parent 498a096a51
commit 79dad03747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 112 additions and 44 deletions

View file

@ -4,9 +4,7 @@
* foo, bar), only the first one is called the same as the compiled file.
*/
#ifndef _MSC_VER
#include "pyconfig.h" // Py_GIL_DISABLED
#endif
#ifndef Py_GIL_DISABLED
#define Py_LIMITED_API 0x03020000