summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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);