From ab78e04bf77d0e879edd962f69ab6d29df7cee8a Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Tue, 18 Feb 1997 19:08:16 +0000 Subject: Need the Winsock initialization/cleanup to setup the blocking hook Removed the crufty DEBUG logic in Makefile.in (it doesn't work) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9903 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/cns/Makefile.in | 11 ----------- src/windows/cns/cns.c | 5 ----- 2 files changed, 16 deletions(-) (limited to 'src/windows/cns') diff --git a/src/windows/cns/Makefile.in b/src/windows/cns/Makefile.in index 623b73e880..ffa1d92619 100644 --- a/src/windows/cns/Makefile.in +++ b/src/windows/cns/Makefile.in @@ -5,7 +5,6 @@ NAME = krb5 OBJS = cns.obj tktlist.obj password.obj options.obj ##### Options -#DEBUG = 1 !IF ! defined(KVERSION) KVERSION = 5 !endif @@ -17,11 +16,7 @@ INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5 ##WIN16##XOBJS = kpasswd.obj ##WIN32##XOBJS = cnsres5.obj kpasswd.obj -!if defined(DEBUG) -CFLAGS = $(CCOPTS2) $(INCLUDES) /D$(KRB)=1 /Zi /Yd /DDEBUG -!else CFLAGS = $(CCOPTS2) $(INCLUDES) /D$(KRB)=1 -!endif ##WIN16##RFLAGS = /nologo /D$(KRB)=1 $(INCLUDES) ##WIN32##RFLAGS = /D$(KRB)=1 $(INCLUDES) @@ -30,15 +25,9 @@ CFLAGS = $(CCOPTS2) $(INCLUDES) /D$(KRB)=1 LINK = link LIBS = $(KLIB) $(CLIB) $(WLIB) ##WIN16##SYSLIBS = libw llibcew -!if defined(DEBUG) -##WIN16##LFLAGS = /co /nologo /nod /nopackcode /map:full -##WIN32##LFLAGS = /nologo /nod /debug -##WIN32##SYSLIBS = libcd.lib kernel32.lib user32.lib gdi32.lib -!else ##WIN16##LFLAGS = /nologo /nod /nopackcode ##WIN32##LFLAGS = /nologo /nod ##WIN32##SYSLIBS = libc.lib kernel32.lib wsock32.lib user32.lib gdi32.lib -!endif all:: makefile $(NAME).exe diff --git a/src/windows/cns/cns.c b/src/windows/cns/cns.c index 15976fa354..10a491a73a 100644 --- a/src/windows/cns/cns.c +++ b/src/windows/cns/cns.c @@ -1685,8 +1685,6 @@ init_instance(HINSTANCE hinstance, int ncmdshow) { char buf[20]; int i; - -#if 0 int rc; WORD versionrequested; WSADATA wsadata; @@ -1707,7 +1705,6 @@ init_instance(HINSTANCE hinstance, int ncmdshow) return FALSE; } -#endif /* * Set up expiration action @@ -1779,9 +1776,7 @@ quit_instance(HINSTANCE hinstance) krb5_cc_close(k5_context, k5_ccache); #endif -#if 0 WSACleanup(); -#endif /* * Unload clock icons -- cgit