Somewhat gruesome tweak to use SetClassLongPtr where available and degrade
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 27 Jan 2006 20:49:59 +0000 (20:49 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 27 Jan 2006 20:49:59 +0000 (20:49 +0000)
commit158cb9b1b46a7b1a7f8c01171f5b32d6526a4367
tree76d71d426e6c5e230ad643dd1749c22d40c16350
parent34ea32c56d4420725dded5ec263d48e603dac539
Somewhat gruesome tweak to use SetClassLongPtr where available and degrade
nicely elsewhere, which should fix `win64' _properly_.
Tested on recent-ish MinGW (with GetWindowLongPtr but not GetClassLongPtr),
and VC++ 6.0 with a recent SDK, but not with vanilla VC++.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6535 cda61777-01e9-0310-a592-d414129be87e
windows/windlg.c
windows/window.c
windows/winstuff.h