summaryrefslogtreecommitdiffstats
path: root/src/include/port-sockets.h
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1997-02-21 04:37:08 +0000
committerRichard Basch <probe@mit.edu>1997-02-21 04:37:08 +0000
commit79796f01993499720ba6bb7fdbe505dacebb24c8 (patch)
tree3c6fda4765a25b82e03353ed8a1f81abaa96002d /src/include/port-sockets.h
parente1bb30327997f2ac32cab9e10424b1aa80985d6a (diff)
downloadkrb5-79796f01993499720ba6bb7fdbe505dacebb24c8.tar.gz
krb5-79796f01993499720ba6bb7fdbe505dacebb24c8.tar.xz
krb5-79796f01993499720ba6bb7fdbe505dacebb24c8.zip
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
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r--src/include/port-sockets.h4
1 files changed, 2 insertions, 2 deletions
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 */