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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user