Commit b1d7eb90 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Added missing Winsock errors to <su_errno.h>

darcs-hash:20060411181925-65a35-00508bf01087b86ae6019b444ace9f6cc17d6cba.gz
parent a50af074
......@@ -121,12 +121,6 @@ enum {
#define MSG_NOSIGNAL (0)
#define EAFNOSUPPORT WSAEAFNOSUPPORT
#define ECONNREFUSED WSAECONNREFUSED
#define EADDRINUSE WSAEADDRINUSE
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EINPROGRESS WSAEINPROGRESS
#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
#endif
/**@HI Maximum size of host name. */
......
......@@ -71,20 +71,152 @@ int su_seterrno(int);
#if defined(_WIN32)
#ifndef ENOBUFS
#define ENOBUFS (10055) /* WSAENOBUFS */
#ifndef EWOULDBLOCK
#define EWOULDBLOCK (10035) /* WSAEWOULDBLOCK */
#endif
#ifndef EINPROGRESS
#define EINPROGRESS (10036) /* WSAEINPROGRESS */
#endif
#ifndef EALREADY
#define EALREADY (10037) /* WSAEALREADY */
#endif
#ifndef ENOTSOCK
#define ENOTSOCK (10038) /* WSAENOTSOCK */
#endif
#ifndef EDESTADDRREQ
#define EDESTADDRREQ (10039) /* WSAEDESTADDRREQ */
#endif
#ifndef EMSGSIZE
#define EMSGSIZE (10040) /* WSAEMSGSIZE */
#endif
#ifndef EPROTOTYPE
#define EPROTOTYPE (10041) /* WSAEPROTOTYPE */
#endif
#ifndef ENOPROTOOPT
#define ENOPROTOOPT (10042) /* WSAENOPROTOOPT */
#endif
#ifndef EPROTONOSUPPORT
#define EPROTONOSUPPORT (10043) /* WSAEPROTONOSUPPORT */
#endif
#ifndef EALREADY
#define EALREADY (10037) /* WSAEALREADY */
#ifndef ESOCKTNOSUPPORT
#define ESOCKTNOSUPPORT (10044) /* WSAESOCKTNOSUPPORT */
#endif
#ifndef EOPNOTSUPP
#define EOPNOTSUPP (10045) /* WSAEOPNOTSUPP */
#endif
#ifndef EPFNOSUPPORT
#define EPFNOSUPPORT (10046) /* WSAEPFNOSUPPORT */
#endif
#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT (10047) /* WSAEAFNOSUPPORT */
#endif
#ifndef EADDRINUSE
#define EADDRINUSE (10048) /* WSAEADDRINUSE */
#endif
#ifndef EADDRNOTAVAIL
#define EADDRNOTAVAIL (10049) /* WSAEADDRNOTAVAIL */
#endif
#ifndef ENETDOWN
#define ENETDOWN (10050) /* WSAENETDOWN */
#endif
#ifndef ENETUNREACH
#define ENETUNREACH (10051) /* WSAENETUNREACH */
#endif
#ifndef ENETRESET
#define ENETRESET (10052) /* WSAENETRESET */
#endif
#ifndef ECONNABORTED
#define ECONNABORTED (10053) /* WSAECONNABORTED */
#endif
#ifndef ECONNRESET
#define ECONNRESET (10054) /* WSAECONNRESET */
#endif
#ifndef ENOBUFS
#define ENOBUFS (10055) /* WSAENOBUFS */
#endif
#ifndef EISCONN
#define EISCONN (10056) /* WSAEISCONN */
#endif
#ifndef ENOTCONN
#define ENOTCONN (10057) /* WSAENOTCONN */
#endif
#ifndef ESHUTDOWN
#define ESHUTDOWN (10058) /* WSAESHUTDOWN */
#endif
#ifndef ETOOMANYREFS
#define ETOOMANYREFS (10059) /* WSAETOOMANYREFS */
#endif
#ifndef ETIMEDOUT
#define ETIMEDOUT (10060) /* WSAETIMEDOUT */
#endif
#ifndef ECONNREFUSED
#define ECONNREFUSED (10061) /* WSAECONNREFUSED */
#endif
#ifndef ELOOP
#define ELOOP (10062) /* WSAELOOP */
#endif
#ifndef ENAMETOOLONG
#define ENAMETOOLONG (10063) /* WSAENAMETOOLONG */
#endif
#ifndef EHOSTDOWN
#define EHOSTDOWN (10064) /* WSAEHOSTDOWN */
#endif
#ifndef EHOSTUNREACH
#define EHOSTUNREACH (10065) /* WSAEHOSTUNREACH */
#endif
#ifndef ENOTEMPTY
#define ENOTEMPTY (10066) /* WSAENOTEMPTY */
#endif
#ifndef EPROCLIM
#define EPROCLIM (10067) /* WSAEPROCLIM */
#endif
#ifndef EUSERS
#define EUSERS (10068) /* WSAEUSERS */
#endif
#ifndef EDQUOT
#define EDQUOT (10069) /* WSAEDQUOT */
#endif
#ifndef ESTALE
#define ESTALE (10070) /* WSAESTALE */
#endif
#ifndef EREMOTE
#define EREMOTE (10071) /* WSAEREMOTE */
#endif
#ifndef EBADMSG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment