mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
VC builds: fix asserts and release builds
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user