summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1997-02-18 19:08:16 +0000
committerRichard Basch <probe@mit.edu>1997-02-18 19:08:16 +0000
commitab78e04bf77d0e879edd962f69ab6d29df7cee8a (patch)
treeb7a20b299432fcf03790386e6162e763a9d9d174 /src/windows/cns
parentbd82feff050a97ae09f92f128d68c0bed8c36ced (diff)
downloadkrb5-ab78e04bf77d0e879edd962f69ab6d29df7cee8a.tar.gz
krb5-ab78e04bf77d0e879edd962f69ab6d29df7cee8a.tar.xz
krb5-ab78e04bf77d0e879edd962f69ab6d29df7cee8a.zip
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
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/Makefile.in11
-rw-r--r--src/windows/cns/cns.c5
2 files changed, 0 insertions, 16 deletions
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