From 79796f01993499720ba6bb7fdbe505dacebb24c8 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 21 Feb 1997 04:37:08 +0000 Subject: Define SOCKET_INITIALIZE and SOCKET_CLEANUP as no-ops under Windows since the Winsock library initialization/cleanup is handled by the DLL entry/exit routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9938 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/port-sockets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/port-sockets.h') diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h index 0ebb104f7..a4e11af4f 100644 --- a/src/include/port-sockets.h +++ b/src/include/port-sockets.h @@ -5,8 +5,8 @@ /* Some of our own infrastructure where the WinSock stuff was too hairy to dump into a clean Unix program... */ -#define SOCKET_INITIALIZE() win_socket_initialize() -#define SOCKET_CLEANUP() WSACleanup() +#define SOCKET_INITIALIZE() 0 +#define SOCKET_CLEANUP() #define SOCKET_ERRNO (WSAGetLastError()) #define SOCKET_SET_ERRNO(x) (WSASetLastError (x)) #define SOCKET_NFDS(f) (0) /* select()'s first arg is ignored */ -- cgit