mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Win64 adjustments.
This commit is contained in:
parent
8ab73b4f61
commit
f68e287a0b
@ -569,7 +569,7 @@ BOOL ValidateUser(HWND hParentWnd)
|
||||
else {
|
||||
szSysDbaPasswd[0] = '\0';
|
||||
return (DialogBox
|
||||
((HINSTANCE) GetWindowLong(hParentWnd, GWLP_HINSTANCE),
|
||||
((HINSTANCE) GetWindowLongPtr(hParentWnd, GWLP_HINSTANCE),
|
||||
MAKEINTRESOURCE(PASSWORD_DLG), hParentWnd,
|
||||
(DLGPROC) PasswordDlgProc) > 0);
|
||||
}
|
||||
|
@ -58,7 +58,16 @@ static const char* szWindowName = "Firebird Server"; // Used in iscguard.cpp
|
||||
#ifndef GWLP_HINSTANCE
|
||||
#define GWLP_HINSTANCE GWL_HINSTANCE
|
||||
#endif
|
||||
#ifndef GCLP_HICON
|
||||
#define GCLP_HICON GCL_HICON
|
||||
#endif
|
||||
#ifndef LONG_PTR
|
||||
#define LONG_PTR long
|
||||
#endif
|
||||
#define GetWindowLongPtr GetWindowLong
|
||||
#define SetWindowLongPtr SetWindowLong
|
||||
#define GetClassLongPtr GetClassLong
|
||||
#define SetClassLongPtr SetClassLong
|
||||
#endif
|
||||
|
||||
#endif // OS_WIN32_WINDOW_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user