[sdl] add HAVE_LIBC to PreprocessorDefinitions, include SDL_windows_main.c to project

This commit is contained in:
zilmar 2015-11-27 17:15:41 +11:00
parent 4b5fb9515d
commit 6b36cc6f5e
2 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<PrecompiledHeader /> <PrecompiledHeader />
<AdditionalIncludeDirectories>include;$(Root)Source/3rd Party/directx/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>include;$(Root)Source/3rd Party/directx/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>HAVE_LIBC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> </ClCompile>
<Lib> <Lib>
<AdditionalDependencies>version.lib;imm32.lib;winmm.lib</AdditionalDependencies> <AdditionalDependencies>version.lib;imm32.lib;winmm.lib</AdditionalDependencies>
@ -226,6 +227,7 @@
<ClCompile Include="src\libm\s_scalbn.c" /> <ClCompile Include="src\libm\s_scalbn.c" />
<ClCompile Include="src\libm\s_sin.c" /> <ClCompile Include="src\libm\s_sin.c" />
<ClCompile Include="src\loadso\windows\SDL_sysloadso.c" /> <ClCompile Include="src\loadso\windows\SDL_sysloadso.c" />
<ClCompile Include="src\main\windows\SDL_windows_main.c" />
<ClCompile Include="src\power\SDL_power.c" /> <ClCompile Include="src\power\SDL_power.c" />
<ClCompile Include="src\power\windows\SDL_syspower.c" /> <ClCompile Include="src\power\windows\SDL_syspower.c" />
<ClCompile Include="src\render\direct3d11\SDL_render_d3d11.c" /> <ClCompile Include="src\render\direct3d11\SDL_render_d3d11.c" />

View File

@ -369,6 +369,7 @@
<ClCompile Include="src\audio\xaudio2\SDL_xaudio2.c" /> <ClCompile Include="src\audio\xaudio2\SDL_xaudio2.c" />
<ClCompile Include="src\render\SDL_yuv_mmx.c" /> <ClCompile Include="src\render\SDL_yuv_mmx.c" />
<ClCompile Include="src\render\SDL_yuv_sw.c" /> <ClCompile Include="src\render\SDL_yuv_sw.c" />
<ClCompile Include="src\main\windows\SDL_windows_main.c" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="src\main\windows\version.rc" /> <ResourceCompile Include="src\main\windows\version.rc" />