VC builds: fix asserts and release builds

This commit is contained in:
Evgeny Grin (Karlson2k)
2019-04-14 14:45:52 +02:00
committed by Christian Grothoff
parent 8b8c300312
commit 1f1f8a50be
4 changed files with 9 additions and 0 deletions
+3
View File
@@ -75,6 +75,9 @@
/* Define to 1 if you have the usable `calloc' function. */
#define HAVE_CALLOC 1
/* Define if you have usable assert() and assert.h */
#define HAVE_ASSERT 1
#if _MSC_VER >= 1900 /* snprintf() supported natively since VS2015 */
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
+2
View File
@@ -74,6 +74,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<SmallerTypeCheck>true</SmallerTypeCheck>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -87,6 +88,7 @@
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
+1
View File
@@ -31,6 +31,7 @@
<ClInclude Include="$(MhdSrc)microhttpd\internal.h" />
<ClInclude Include="$(MhdSrc)microhttpd\md5.h" />
<ClInclude Include="$(MhdSrc)microhttpd\memorypool.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_assert.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_byteorder.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_limits.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_mono_clock.h" />
+3
View File
@@ -96,6 +96,9 @@
<ClInclude Include="$(MhdSrc)microhttpd\tsearch.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="$(MhdSrc)microhttpd\mhd_assert.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="$(MhdSrc)microhttpd\mhd_limits.h">
<Filter>Source Files</Filter>
</ClInclude>