8000 Update pythoncore.vcxproj · python/cpython@d57c175 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit d57c175

Browse files
Update pythoncore.vcxproj
1 parent ab0a611 commit d57c175

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<PreprocessorDefinitions Condition="$(IncludeExternals)">_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
107107
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108108
<PreprocessorDefinitions Condition="'$(UseTIER2)' != '' and '$(UseTIER2)' != '0'">_Py_TIER2=$(UseTIER2);%(PreprocessorDefinitions)</PreprocessorDefinitions>
109+
<PreprocessorDefinitions Condition="'$(UseTailCallInterp)' == 'true'">Py_TAIL_CALL_INTERP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109110
</ClCompile>
110111
<Link>
111112
<AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -703,9 +704,6 @@
703704
<PropertyGroup Condition="$(DisableGil) == 'true'">
704705
<PyConfigHText>$(PyConfigHText.Replace('/* #define Py_GIL_DISABLED 1 */', '#define Py_GIL_DISABLED 1'))</PyConfigHText>
705706
</PropertyGroup>
706-
<PropertyGroup Condition="$(UseTailCallInterp) == 'true'">
707-
<PyConfigHText>$(PyConfigHText.Replace('/* #define Py_TAIL_CALL_INTERP 1 */', '#define Py_TAIL_CALL_INTERP 1'))</PyConfigHText>
708-
</PropertyGroup>
709707
<Message Text="Updating pyconfig.h" Condition="$(PyConfigHText.TrimEnd()) != $(OldPyConfigH.TrimEnd())" />
710708
<WriteLinesToFile File="$(IntDir)pyconfig.h"
711709
Lines="$(PyConfigHText)"

0 commit comments

Comments
 (0)
0