diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-11-07 20:01:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-11-07 20:01:09 +0000 |
commit | 4c25744f8646215a655604ad1a9413db59d15de5 (patch) | |
tree | 2e40e54ba37b6df6a3d79bced56582c6c7cd33b2 /winsup/cygwin/autoload.cc | |
parent | 64ef9db779e3909490ece705c3b16e4a7319c59a (diff) | |
download | newlib-4c25744f8646215a655604ad1a9413db59d15de5.zip newlib-4c25744f8646215a655604ad1a9413db59d15de5.tar.gz newlib-4c25744f8646215a655604ad1a9413db59d15de5.tar.bz2 |
* autoload.cc: Add autoload statement for `WSASetLastError'.
* net.cc (cygwin_connect): Change error code to WSAEINPROGRESS
when connect returns WSAEWOULDBLOCK.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 6f9344a..e82aa5a 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -275,6 +275,7 @@ LoadDLLinit (wsock32) LoadDLLfunc (WSAAsyncSelect, 16, wsock32) LoadDLLfunc (WSACleanup, 0, wsock32) LoadDLLfunc (WSAGetLastError, 0, wsock32) +LoadDLLfunc (WSASetLastError, 4, wsock32) LoadDLLfunc (WSAStartup, 8, wsock32) LoadDLLfunc (__WSAFDIsSet, 8, wsock32) LoadDLLfunc (accept, 12, wsock32) |