From: Michael Jerris Date: Thu, 17 May 2007 03:42:38 +0000 (+0000) Subject: clean up windows build X-Git-Tag: v1.0.6~38^2~843 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce6cb1cf9dd1c8256bfa829d404f6dff1b0bc0d;p=thirdparty%2Ffreeswitch.git clean up windows build git-svn-id: http://svn.openzap.org/svn/openzap/trunk@11 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/openzap.vcproj b/libs/openzap/openzap.vcproj index 001ce13352..6cb321a698 100644 --- a/libs/openzap/openzap.vcproj +++ b/libs/openzap/openzap.vcproj @@ -45,10 +45,14 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" + DisableLanguageExtensions="true" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="4" + WarnAsError="true" Detect64BitPortabilityProblems="true" DebugInformationFormat="4" + CompileAs="1" /> + + + + + + = 1400) // VC8+ +#if (_MSC_VER >= 1400) /* VC8+ */ #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif @@ -63,6 +63,11 @@ #include "hashtable.h" #include "zap_config.h" +#ifdef NDEBUG +#undef assert +#define assert(_Expression) ((void)(_Expression)) +#endif + #define ZAP_MAX_CHANNELS_SPAN 513 #define ZAP_MAX_SPANS_INTERFACE 33