From: Robin Dunn Date: Wed, 25 Nov 1998 08:15:38 +0000 (+0000) Subject: Enabled the wxUSE_VC_CRTDBG to be optional even if it would otherwise X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8a111b2978711ead57adf67dd388a15fe298b9b9?ds=inline Enabled the wxUSE_VC_CRTDBG to be optional even if it would otherwise be used since I couldn't get it to work here. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 812c615db0..a9fb77fdd2 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -52,7 +52,7 @@ // use debug CRT functions for memory leak detections in VC++ if we're not // using wxWindows own methods -#if defined(__WXDEBUG__) && defined(_MSC_VER) && !wxUSE_GLOBAL_MEMORY_OPERATORS +#if defined(__WXDEBUG__) && defined(_MSC_VER) && !wxUSE_GLOBAL_MEMORY_OPERATORS && !defined(__NO_VC_CRTDBG__) #define wxUSE_VC_CRTDBG #else #undef wxUSE_VC_CRTDBG