8000 Also predefine _Py_TIER2 on Windows if UseJIT is true · python/cpython@f45f7ca · GitHub
[go: up one dir, main page]

Skip to content

Commit f45f7ca

Browse files
committed
Also predefine _Py_TIER2 on Windows if UseJIT is true
1 parent 783c3cc commit f45f7ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

PCbuild/_testinternalcapi.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
<ItemDefinitionGroup>
112112
<ClCompile>
113113
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114+
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_TIER2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114115
</ClCompile>
115116
</ItemDefinitionGroup>
116117
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
<PreprocessorDefinitions>_USRDLL;Py_BUILD_CORE;Py_BUILD_CORE_BUILTIN;Py_ENABLE_SHARED;MS_DLL_ID="$(SysWinVer)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
106106
<PreprocessorDefinitions Condition="$(IncludeExternals)">_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
107107
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108+
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_TIER2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108109
</ClCompile>
109110
<Link>
110111
<AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>

0 commit comments

Comments
 (0)
0