From 4ce6cb1cf9dd1c8256bfa829d404f6dff1b0bc0d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 17 May 2007 03:42:38 +0000 Subject: [PATCH] clean up windows build git-svn-id: http://svn.openzap.org/svn/openzap/trunk@11 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/openzap.vcproj | 24 ++++++++++++++++++++++++ libs/openzap/src/include/openzap.h | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) 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