summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2023-12-13 15:38:45 (GMT)
committerGitHub <noreply@github.com>2023-12-13 15:38:45 (GMT)
commit79dad03747fe17634136209f1bcaf346a8c10617 (patch)
tree0ca624c64faee7dba75917b1483ab9318c2676f5 /Modules/_testcapi
parent498a096a51a215cd3084845131e619222b906b3e (diff)
downloadcpython-79dad03747fe17634136209f1bcaf346a8c10617.zip
cpython-79dad03747fe17634136209f1bcaf346a8c10617.tar.gz
cpython-79dad03747fe17634136209f1bcaf346a8c10617.tar.bz2
gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)
Diffstat (limited to 'Modules/_testcapi')
-rw-r--r--Modules/_testcapi/heaptype_relative.c2
-rw-r--r--Modules/_testcapi/vectorcall_limited.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_testcapi/heaptype_relative.c b/Modules/_testcapi/heaptype_relative.c
index 52286f0..52bda75 100644
--- a/Modules/_testcapi/heaptype_relative.c
+++ b/Modules/_testcapi/heaptype_relative.c
@@ -1,6 +1,4 @@
-#ifndef _MSC_VER
#include "pyconfig.h" // Py_GIL_DISABLED
-#endif
#ifndef Py_GIL_DISABLED
#define Py_LIMITED_API 0x030c0000 // 3.12
diff --git a/Modules/_testcapi/vectorcall_limited.c b/Modules/_testcapi/vectorcall_limited.c
index 0a650f1..d7b8d33 100644
--- a/Modules/_testcapi/vectorcall_limited.c
+++ b/Modules/_testcapi/vectorcall_limited.c
@@ -1,8 +1,6 @@
/* Test Vectorcall in the limited API */
-#ifndef _MSC_VER
#include "pyconfig.h" // Py_GIL_DISABLED
-#endif
#ifndef Py_GIL_DISABLED
#define Py_LIMITED_API 0x030c0000 // 3.12