diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-26 14:54:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-26 14:54:52 +0300 |
commit | 69825c7df6ceec4f038f9fa8894d297244921b4e (patch) | |
tree | 2564e154ec63192038a9747196e3c0746c1d2b0c /plugins/PluginUpdater/src | |
parent | 1f7b57e84a6513125b312ae5d2123c073d94c8b1 (diff) |
compilation fix
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index 5de9e7de72..9f7e7cf898 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -160,7 +160,7 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) ListView_SetImageList(hwndList, hIml, LVSIL_SMALL);
OSVERSIONINFO osver = { sizeof(osver) };
- if (IsWindows7OrGreater()) {
+ if (IsWinVer7Plus()) {
wchar_t szPath[MAX_PATH];
GetModuleFileNameW(nullptr, szPath, _countof(szPath));
wchar_t *ext = wcsrchr(szPath, '.');
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index dac85f823d..fad5955596 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. #include <Windowsx.h>
#include <Shlobj.h>
#include <string.h>
-#include <VersionHelpers.h>
// Miranda header files
#include <newpluginapi.h>
|