X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4d9ed2144bc84a70de10f4c43a63a1901d3f950..ae901b234c4a0aa7c1777b3bd181dd7f8517ad21:/src/msw/stdpaths.cpp diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index 3e928c1462..e8340f1a26 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -250,8 +250,8 @@ wxString wxStandardPaths::GetAppDir() { wxFileName fn(wxGetFullModuleName()); - // allow running the apps directly from build directory in debug builds -#ifdef __WXDEBUG__ + // allow running the apps directly from build directory in MSVC debug builds +#ifdef _DEBUG wxString lastdir; if ( fn.GetDirCount() ) { @@ -260,7 +260,7 @@ wxString wxStandardPaths::GetAppDir() if ( lastdir.Matches(_T("debug*")) || lastdir.Matches(_T("vc*msw*")) ) fn.RemoveLastDir(); } -#endif // __WXDEBUG__ +#endif // _DEBUG return fn.GetPath(); }