Commit 460b6c4b authored by rswindell's avatar rswindell
Browse files

Mirroring more WinSock error value constants to unix errno.h equivalents.

parent cf6a7d5d
......@@ -89,12 +89,35 @@
#define EMSGSIZE (WSAEMSGSIZE-WSABASEERR)
#undef EWOULDBLOCK
#define EWOULDBLOCK (WSAEWOULDBLOCK-WSABASEERR)
#define EPROTOTYPE (WSAEPROTOTYPE-WSABASEERR)
#define ENOPROTOOPT (WSAENOPROTOOPT-WSABASEERR)
#define EPROTONOSUPPORT (WSAEPROTONOSUPPORT-WSABASEERR)
#define ESOCKTNOSUPPORT (WSAESOCKTNOSUPPORT-WSABASEERR)
#define EOPNOTSUPP (WSAEOPNOTSUPP-WSABASEERR)
#define EPFNOSUPPORT (WSAEPFNOSUPPORT-WSABASEERR)
#define EAFNOSUPPORT (WSAEAFNOSUPPORT-WSABASEERR)
#undef EADDRINUSE
#define EADDRINUSE (WSAEADDRINUSE-WSABASEERR)
#undef EADDRNOTAVAIL
#define EADDRNOTAVAIL (WSAEADDRNOTAVAIL-WSABASEERR)
#undef ECONNABORTED
#define ECONNABORTED (WSAECONNABORTED-WSABASEERR)
#undef ECONNRESET
#define ECONNRESET (WSAECONNRESET-WSABASEERR)
#undef ENOBUFS
#define ENOBUFS (WSAENOBUFS-WSABASEERR)
#undef EISCONN
#define EISCONN (WSAEISCONN-WSABASEERR)
#undef ENOTCONN
#define ENOTCONN (WSAENOTCONN-WSABASEERR)
#undef ESHUTDOWN
#define ESHUTDOWN (WSAESHUTDOWN-WSABASEERR)
#undef ECONNABORTED
#define ECONNABORTED (WSAECONNABORTED-WSABASEERR)
#undef ETIMEDOUT
#define ETIMEDOUT (WSAETIMEDOUT-WSABASEERR)
#undef ECONNREFUSED
#define ECONNREFUSED (WSAECONNREFUSED-WSABASEERR)
#undef EINPROGRESS
#define EINPROGRESS (WSAEINPROGRESS-WSABASEERR)
......
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