1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +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

@@ -706,10 +706,10 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S )
AddBuildinfoRow(&informationStr, XO("Commit Id:"), REV_IDENT );
auto buildType =
#ifdef __WXDEBUG__
XO("Debug build")
#ifdef _DEBUG
XO("Debug build (debug level %d)").Format(wxDEBUG_LEVEL);
#else
XO("Release build")
XO("Release build (debug level %d)").Format(wxDEBUG_LEVEL);
#endif
;
if( (sizeof(void*) == 8) )