1
0
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:
Owen Dunn 2006-01-11 23:43:04 +00:00
parent dd924a644e
commit d6f844533e

View File

@ -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);