Commits (3)
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<Optimization>MaxSpeed</Optimization> <Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;WIN32;_LIB;LINK_LIST_THREADSAFE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>NDEBUG;WIN32;_LIB;LINK_LIST_THREADSAFE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions);NO_X</PreprocessorDefinitions>
<StringPooling>true</StringPooling> <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking> <FunctionLevelLinking>true</FunctionLevelLinking>
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<AdditionalOptions>/Zm400 %(AdditionalOptions)</AdditionalOptions> <AdditionalOptions>/Zm400 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization> <Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;WIN32;_LIB;LINK_LIST_THREADSAFE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>_DEBUG;WIN32;_LIB;LINK_LIST_THREADSAFE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions);NO_X</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild> <MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
...@@ -149,6 +149,7 @@ ...@@ -149,6 +149,7 @@
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> </ClCompile>
<ClCompile Include="scale.c" />
<ClCompile Include="sdlfuncs.c" /> <ClCompile Include="sdlfuncs.c" />
<ClCompile Include="sdl_con.c" /> <ClCompile Include="sdl_con.c" />
<ClCompile Include="SDL_win32_main.c" /> <ClCompile Include="SDL_win32_main.c" />
...@@ -164,6 +165,7 @@ ...@@ -164,6 +165,7 @@
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> </ClCompile>
<ClCompile Include="xbr.c" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\xpdev\xpdev_mt.vcxproj"> <ProjectReference Include="..\xpdev\xpdev_mt.vcxproj">
......
...@@ -625,7 +625,10 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height) ...@@ -625,7 +625,10 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height)
} }
} }
static __attribute__((always_inline)) static
#ifndef _MSC_VER
__attribute__((always_inline))
#endif
uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight) uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
{ {
uint8_t yuv1[4]; uint8_t yuv1[4];
......
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
<ClCompile Include="ssh.c" /> <ClCompile Include="ssh.c" />
<ClCompile Include="st_crypt.c" /> <ClCompile Include="st_crypt.c" />
<ClCompile Include="syncterm.c" /> <ClCompile Include="syncterm.c" />
<ClCompile Include="telnets.c" />
<ClCompile Include="telnet_io.c" /> <ClCompile Include="telnet_io.c" />
<ClCompile Include="term.c" /> <ClCompile Include="term.c" />
<ClCompile Include="uifcinit.c" /> <ClCompile Include="uifcinit.c" />
......
...@@ -10156,7 +10156,9 @@ rip_bezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int c ...@@ -10156,7 +10156,9 @@ rip_bezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int c
i = 0; i = 0;
targets[i++] = x1; targets[i++] = x1;
targets[i++] = y1; targets[i++] = y1;
#ifndef _MSC_VER
#pragma clang loop vectorize(enable) #pragma clang loop vectorize(enable)
#endif
for (step = 1; step < cnt; step++) { for (step = 1; step < cnt; step++) {
double tf = ((double)step) / cnt; double tf = ((double)step) / cnt;
double tr = ((double)(cnt - step)) / cnt; double tr = ((double)(cnt - step)) / cnt;
......