aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index c06ae90ee2b..0fe9f894f05 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -2531,7 +2531,9 @@ sys__is_gil_enabled_impl(PyObject *module)
}
+#ifndef MS_WINDOWS
static PerfMapState perf_map_state;
+#endif
PyAPI_FUNC(int) PyUnstable_PerfMapState_Init(void) {
#ifndef MS_WINDOWS