diff options
author | Richard Basch <probe@mit.edu> | 1997-02-21 04:37:08 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1997-02-21 04:37:08 +0000 |
commit | 79796f01993499720ba6bb7fdbe505dacebb24c8 (patch) | |
tree | 3c6fda4765a25b82e03353ed8a1f81abaa96002d /src | |
parent | e1bb30327997f2ac32cab9e10424b1aa80985d6a (diff) | |
download | krb5-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')
-rw-r--r-- | src/include/ChangeLog | 6 | ||||
-rw-r--r-- | src/include/port-sockets.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index be4ca08eb..f37546aab 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -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(). 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 */ |