From cf12bef16cc36648fddef239bba29072e01bc809 Mon Sep 17 00:00:00 2001
From: Julian Waters <32636402+TheShermanTanker@users.noreply.github.com>
Date: Mon, 30 Dec 2024 18:29:07 +0800
Subject: [PATCH] GIL is not properly disabled for _freeze_module.vcxproj
---
PCbuild/_freeze_module.vcxproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index 51b493f8a84c6f..e12876114459bc 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -448,7 +448,7 @@
$([System.IO.File]::ReadAllText('$(IntDir)pyconfig.h'))
- $(PyConfigHText.Replace('#undef Py_GIL_DISABLED', '#define Py_GIL_DISABLED 1'))
+ $(PyConfigHText.Replace('/* #define Py_GIL_DISABLED 1 */', '#define Py_GIL_DISABLED 1'))