Explicit Winsock initialization & linking is no longer required (fixed krb5 lib)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9871
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Feb 15 12:21:51 1997 Richard Basch <basch@lehman.com>
+
+ * Makefile.in: Link in ComErr library $(CLIB)
+ * cns.c: Winsock initialization/teardown is handled by krb5 lib
+
Mon Feb 10 23:19:26 1997 Richard Basch <basch@lehman.com>
* Makefile.in: Use WLIB definition in config/windows.in
##### Linker
LINK = link
-LIBS = $(KLIB) $(WLIB)
+LIBS = $(KLIB) $(CLIB)
##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 wsock32.lib user32.lib gdi32.lib
+##WIN32##SYSLIBS = libcd.lib kernel32.lib user32.lib gdi32.lib
!else
##WIN16##LFLAGS = /nologo /nod /nopackcode
##WIN32##LFLAGS = /nologo /nod
static BOOL
init_instance(HINSTANCE hinstance, int ncmdshow)
{
- WORD versionrequested;
- WSADATA wsadata;
- int rc;
char buf[20];
int i;
+#if 0
+ int rc;
+ WORD versionrequested;
+ WSADATA wsadata;
+
versionrequested = 0x0101; /* We need version 1.1 */
rc = WSAStartup(versionrequested, &wsadata);
if (rc != 0) {
return FALSE;
}
+#endif
/*
* Set up expiration action
krb5_cc_close(k5_context, k5_ccache);
#endif
+#if 0
WSACleanup();
+#endif
/*
* Unload clock icons