Define SOCKET_INITIALIZE and SOCKET_CLEANUP as no-ops under Windows since
authorRichard Basch <probe@mit.edu>
Fri, 21 Feb 1997 04:37:08 +0000 (04:37 +0000)
committerRichard Basch <probe@mit.edu>
Fri, 21 Feb 1997 04:37:08 +0000 (04:37 +0000)
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/ChangeLog
src/include/port-sockets.h

index be4ca08eb315f98a8421199c9c204cd49456c118..f37546aab55185af9c1f7c48d7af9173052715c4 100644 (file)
@@ -1,3 +1,9 @@
+Thu Feb 20 23:28:31 1997  Richard Basch  <basch@lehman.com>
+
+       * port-sockets.h: Define SOCKET_INITIALIZE and SOCKET_CLEANUP
+               as no-ops under Windows, since this is now handled by
+               the DLL entry/exit code.
+
 Wed Feb 19 14:25:32 1997  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * krb5.hin: Added function prototype for krb5_set_principal_realm().
index 0ebb104f74e9cb4d620a4a46cc03daab0c812e65..a4e11af4f6310258a773ce1f1444b6b25567b158 100644 (file)
@@ -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 */