summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/ChangeLog4
-rw-r--r--src/windows/cns/Makefile.in2
-rw-r--r--src/windows/cns/password.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog
index d32fd8ac3f..37940a33e4 100644
--- a/src/windows/cns/ChangeLog
+++ b/src/windows/cns/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-24 Jeffrey Altman <jaltman@mit.edu>
+
+ * Makefile.in, password.c: support for 64-bit Windows builds
+
2005-03-15 Jeffrey Altman <jaltman@mit.edu>
* tktlist.c: do not mix pointers to long and time_t
diff --git a/src/windows/cns/Makefile.in b/src/windows/cns/Makefile.in
index 7ea2def124..1e9e50ed6d 100644
--- a/src/windows/cns/Makefile.in
+++ b/src/windows/cns/Makefile.in
@@ -54,7 +54,7 @@ all:: Makefile $(OUTPRE)$(NAME).exe
$(OUTPRE)$(NAME).exe: $(NAME).def $(OBJS) $(XOBJS) $(LIBS)
$(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(XOBJS) \
- $(LIBS) $(SYSLIBS)
+ $(LIBS) $(SYSLIBS) $(SCLIB)
install::
$(CP) $(OUTPRE)$(NAME).exe $(DESTDIR)
diff --git a/src/windows/cns/password.c b/src/windows/cns/password.c
index ad02201f14..b986659949 100644
--- a/src/windows/cns/password.c
+++ b/src/windows/cns/password.c
@@ -277,7 +277,7 @@ password_dlg_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
case WM_SETCURSOR:
if (isblocking) {
SetCursor(LoadCursor(NULL, IDC_WAIT));
- SetWindowLong(hwnd, DWL_MSGRESULT, TRUE);
+ SetWindowLongPtr(hwnd, DWLP_MSGRESULT, TRUE);
return TRUE;
}