From: Julian Waters <32636402+TheShermanTanker@users.noreply.github.com>
Date: Sat, 15 Feb 2025 14:05:54 +0000 (+0800)
Subject: gh-128345: properly disable gil for `_freeze_module.vcxproj` (#128344)
X-Git-Tag: v3.14.0a6~410
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c26bed1160978fe8b1844878b8123778e47870c6;p=thirdparty%2FPython%2Fcpython.git
gh-128345: properly disable gil for `_freeze_module.vcxproj` (#128344)
---
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index 51b493f8a84c..e12876114459 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'))