mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
VC6 doesn't define LONG_PTR
[originally from svn r6520]
This commit is contained in:
parent
dd924a644e
commit
d6f844533e
@ -240,7 +240,11 @@ static int SaneDialogBox(HINSTANCE hinst,
|
||||
wc.style = CS_DBLCLKS | CS_SAVEBITS | CS_BYTEALIGNWINDOW;
|
||||
wc.lpfnWndProc = DefDlgProc;
|
||||
wc.cbClsExtra = 0;
|
||||
#ifdef LONG_PTR
|
||||
wc.cbWndExtra = DLGWINDOWEXTRA + 2*sizeof(LONG_PTR);
|
||||
#else
|
||||
wc.cbWndExtra = DLGWINDOWEXTRA + 8;
|
||||
#endif
|
||||
wc.hInstance = hinst;
|
||||
wc.hIcon = NULL;
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user