summaryrefslogtreecommitdiff
path: root/plugins/DbChecker
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-17 13:37:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-17 13:37:54 +0000
commit9f2a2e2b8da42a49f45ba5fd2ca245cae3dfd196 (patch)
treefb771e98faff587f13225697c021a1a97b6ecff9 /plugins/DbChecker
parent000c0a375b12a4d8266accdce8fb782c3ab6eba0 (diff)
use win2k header
git-svn-id: http://svn.miranda-ng.org/main/trunk@6109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbChecker')
-rw-r--r--plugins/DbChecker/src/dbchecker.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/DbChecker/src/dbchecker.h b/plugins/DbChecker/src/dbchecker.h
index ea7d3909ae..9742b742a4 100644
--- a/plugins/DbChecker/src/dbchecker.h
+++ b/plugins/DbChecker/src/dbchecker.h
@@ -30,13 +30,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_database.h>
#include <m_db_int.h>
#include <m_langpack.h>
+#include <win2k.h>
#include "resource.h"
#include "version.h"
-#define WinVerMajor() LOBYTE(LOWORD(GetVersion()))
-#define IsWinVerXPPlus() (WinVerMajor()>=5 && LOWORD(GetVersion())!=5)
-
#define WZM_GOTOPAGE (WM_USER+1)
#define WZN_PAGECHANGING (WM_USER+1221)
#define WZN_CANCELCLICKED (WM_USER+1222)
@@ -74,8 +72,6 @@ INT_PTR CALLBACK OpenErrorDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM
void OpenDatabase(HWND hdlg, INT iNextPage);
-#define SIZEOF(X) (sizeof(X)/sizeof(X[0]))
-
#define STATUS_CLASSMASK 0x0f
void AddToStatus(int flags, const TCHAR* fmt, ...);
void SetProgressBar(int perThou);