From c53f7fd2ca7d605397091294683eaf63d6b922f2 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 27 Feb 2006 19:22:08 +0000 Subject: Qing Dong provided a set of changes to allow krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/cns/ChangeLog | 4 ++++ src/windows/cns/Makefile.in | 2 +- src/windows/cns/password.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/windows/cns') 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 + + * Makefile.in, password.c: support for 64-bit Windows builds + 2005-03-15 Jeffrey Altman * 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; } -- cgit