Skip to content

Commit cc9dbcf

Browse files
committed
ttydasm: Fix preprocessor directives for x86-64
1 parent 03e8433 commit cc9dbcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ttyd-tools/ttydasm/ttydasm.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
<WarningLevel>Level3</WarningLevel>
8484
<Optimization>Disabled</Optimization>
8585
<SDLCheck>true</SDLCheck>
86+
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
8687
</ClCompile>
8788
</ItemDefinitionGroup>
8889
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -106,6 +107,7 @@
106107
<FunctionLevelLinking>true</FunctionLevelLinking>
107108
<IntrinsicFunctions>true</IntrinsicFunctions>
108109
<SDLCheck>true</SDLCheck>
110+
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109111
</ClCompile>
110112
<Link>
111113
<EnableCOMDATFolding>true</EnableCOMDATFolding>

0 commit comments

Comments
 (0)