diff options
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 */ |