From: Václav Slavík Date: Tue, 15 Dec 2009 15:38:05 +0000 (+0000) Subject: define NDEBUG if not using debug CRT X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c59422a40f0a3b11d6c38993f09b3a36b30f8322 define NDEBUG if not using debug CRT git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 56b58a1e4a..38c6d80e9b 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -266,6 +266,11 @@ wxDEBUG_LEVEL=0 + + NDEBUG + NDEBUG + + __NO_VC_CRTDBG__ @@ -496,6 +501,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r __WX$(TOOLKIT)__ $(WXUNIV_DEFINE) $(DEBUG_DEFINE) + $(NDEBUG_DEFINE) $(EXCEPTIONS_DEFINE) $(RTTI_DEFINE) $(THREAD_DEFINE)