From c26bed1160978fe8b1844878b8123778e47870c6 Mon Sep 17 00:00:00 2001 From: Julian Waters <32636402+TheShermanTanker@users.noreply.github.com> Date: Sat, 15 Feb 2025 22:05:54 +0800 Subject: gh-128345: properly disable gil for `_freeze_module.vcxproj` (#128344) --- 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 51b493f..e128761 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'))