Skip to content

Commit 8fc905f

Browse files
committed
When compiling _testinternalcapi.c, define _Py_JIT
1 parent 638b7ec commit 8fc905f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PCbuild/_testinternalcapi.vcxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@
108108
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
109109
</ProjectReference>
110110
</ItemGroup>
111+
<ItemDefinitionGroup>
112+
<ClCompile>
113+
<PreprocessorDefinitions Condition="'$(UseJIT)' == 'true'">_Py_JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114+
</ClCompile>
115+
</ItemDefinitionGroup>
111116
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
112117
<ImportGroup Label="ExtensionTargets">
113118
</ImportGroup>

0 commit comments

Comments
 (0)