Skip to content

Commit 86c6d6e

Browse files
Subbarao Garlapatimeta-codesync[bot]
authored andcommitted
Add ENABLE_LAZY_IMPORTS to freeze_module for Windows
Summary: Add `ENABLE_LAZY_IMPORTS` macro to `_freeze_module.vcxproj`. This should fix the issue happening in D86264007. Reviewed By: itamaro Differential Revision: D86322461 fbshipit-source-id: 155f0ed1b76bb150619d6c833437471706dc9183
1 parent 056b733 commit 86c6d6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PCbuild/_freeze_module.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<PropertyGroup Label="UserMacros" />
8989
<ItemDefinitionGroup>
9090
<ClCompile>
91-
<PreprocessorDefinitions>Py_NO_ENABLE_SHARED;Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
91+
<PreprocessorDefinitions>ENABLE_LAZY_IMPORTS;Py_NO_ENABLE_SHARED;Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
9292
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
9393
<Optimization>Disabled</Optimization>
9494
<WholeProgramOptimization>false</WholeProgramOptimization>

0 commit comments

Comments
 (0)