From dab02db976758f34c7c10ad9df627533a7697d95 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 31 Aug 2021 18:41:22 +0200 Subject: [PATCH] Add non MSC info into debug info --- PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp index 01dbc6f10..efe14120d 100644 --- a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp +++ b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp @@ -155,6 +155,14 @@ INT_PTR CALLBACK DebugInfoDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM / _debugInfoStr += buildTime; _debugInfoStr += TEXT("\r\n"); +#if defined(__GNUC__) + _debugInfoStr += TEXT("Built with : GCC "); + _debugInfoStr += wmc.char2wchar(__VERSION__, CP_ACP); + _debugInfoStr += TEXT("\r\n"); +#elif !defined(_MSC_VER) + _debugInfoStr += TEXT("Built with : (unknown)\r\n"); +#endif + // Binary path _debugInfoStr += TEXT("Path : "); TCHAR nppFullPath[MAX_PATH];