diff options
Diffstat (limited to 'windirstat/mainframe.cpp')
-rw-r--r-- | windirstat/mainframe.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/windirstat/mainframe.cpp b/windirstat/mainframe.cpp index 9b8b6c6..25d3a43 100644 --- a/windirstat/mainframe.cpp +++ b/windirstat/mainframe.cpp @@ -28,6 +28,7 @@ #include "typeview.h" #include "dirstatdoc.h" #include "osspecific.h" +#include "globalhelpers.h" #include "item.h" #include "pagecleanups.h" @@ -35,6 +36,9 @@ #include "pagetreemap.h" #include "pagegeneral.h" +#include <common/mdexceptions.h> +#include <common/commonhelpers.h> + #include "mainframe.h" #ifdef _DEBUG @@ -680,13 +684,13 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) VERIFY(m_wndToolBar.LoadToolBar(IDR_MAINFRAME)); UINT *indic = indicators; - UINT size = countof(indicators); + UINT size = _countof(indicators); // If psapi is not supported, don't show that pane. if(GetWDSApp()->GetCurrentProcessMemoryInfo() == wds::strEmpty) { indic = indicatorsWithoutMemoryUsage; - size = countof(indicatorsWithoutMemoryUsage); + size = _countof(indicatorsWithoutMemoryUsage); } VERIFY(m_wndStatusBar.Create(this)); |