1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

This corrects the debugging level used when building the

wxWidgets libs on Windows.  It will disable the assertions
in release builds.
This commit is contained in:
Leland Lucius
2015-10-08 17:35:14 -07:00
parent c7792dd52f
commit 31fc2c14e4
2 changed files with 25 additions and 9 deletions

View File

@@ -65,11 +65,11 @@
// NDEBUG) or, on the contrary, enable more asserts, including the usually
// disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
//
// #ifdef NDEBUG
// #define wxDEBUG_LEVEL 0
// #else
// #define wxDEBUG_LEVEL 2
// #endif
#ifdef NDEBUG
#define wxDEBUG_LEVEL 0
#else
#define wxDEBUG_LEVEL 1
#endif
// wxHandleFatalExceptions() may be used to catch the program faults at run
// time and, instead of terminating the program with a usual GPF message box,