mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 08:27:13 +01:00
Convert all __WXDEBUG__ tests to use new _DEBUG symbol
This symbol is based on the NDEBUG symbol that's automatically defined by CMake.
This commit is contained in:
@@ -1182,7 +1182,7 @@ bool AudacityApp::OnExceptionInMainLoop()
|
||||
AudacityApp::AudacityApp()
|
||||
{
|
||||
// Do not capture crashes in debug builds
|
||||
#if !defined(__WXDEBUG__)
|
||||
#if !defined(_DEBUG)
|
||||
#if defined(EXPERIMENTAL_CRASH_REPORT)
|
||||
#if defined(wxUSE_ON_FATAL_EXCEPTION) && wxUSE_ON_FATAL_EXCEPTION
|
||||
wxHandleFatalExceptions();
|
||||
|
||||
Reference in New Issue
Block a user