1
0
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:
Leland Lucius
2020-04-25 02:36:27 -05:00
parent ef28b9214b
commit 1ca911ed38
12 changed files with 22 additions and 16 deletions

View File

@@ -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();