Build LuaJIT in Lua 5.2 mode on Windows as well

This commit is contained in:
Thomas Goyne 2014-04-28 10:58:55 -07:00
parent a5a6d5da86
commit e5f935678e
2 changed files with 11 additions and 3 deletions

View File

@ -21,7 +21,11 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;
LUAJIT_ENABLE_LUA52COMPAT;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(AegisubObjectDir);
$(SrcDir)dynasm;

View File

@ -17,7 +17,11 @@
<!-- Project specific configuration -->
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;
LUAJIT_ENABLE_LUA52COMPAT;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(AegisubObjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
@ -329,4 +333,4 @@
<Project>{7ca6a4eb-a11b-4975-8f3a-f633111c6213}</Project>
</ProjectReference>
</ItemGroup>
</Project>
</Project>