1 2 /* Generated with: 3 cat /usr/i686-pc-mingw32/sys-root/mingw/include/winerror.h \ 4 | awk '/#define WSAE.*WSABASE/{gsub("WSA", ""); print "#undef " $2 "\n#define " $2 " WSA" $2}' \ 5 | egrep -v 'EINTR|EBADF|EACCES|EFAULT|EINVAL|EMFILE|_QOS|PROVIDER|PROCTABLE' 6 */ 7 8 #undef EWOULDBLOCK 9 #define EWOULDBLOCK WSAEWOULDBLOCK 10 #undef EINPROGRESS 11 #define EINPROGRESS WSAEINPROGRESS 12 #undef EALREADY 13 #define EALREADY WSAEALREADY 14 #undef ENOTSOCK 15 #define ENOTSOCK WSAENOTSOCK 16 #undef EDESTADDRREQ 17 #define EDESTADDRREQ WSAEDESTADDRREQ 18 #undef EMSGSIZE 19 #define EMSGSIZE WSAEMSGSIZE 20 #undef EPROTOTYPE 21 #define EPROTOTYPE WSAEPROTOTYPE 22 #undef ENOPROTOOPT 23 #define ENOPROTOOPT WSAENOPROTOOPT 24 #undef EPROTONOSUPPORT 25 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT 26 #undef ESOCKTNOSUPPORT 27 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT 28 #undef EOPNOTSUPP 29 #define EOPNOTSUPP WSAEOPNOTSUPP 30 #undef EPFNOSUPPORT 31 #define EPFNOSUPPORT WSAEPFNOSUPPORT 32 #undef EAFNOSUPPORT 33 #define EAFNOSUPPORT WSAEAFNOSUPPORT 34 #undef EADDRINUSE 35 #define EADDRINUSE WSAEADDRINUSE 36 #undef EADDRNOTAVAIL 37 #define EADDRNOTAVAIL WSAEADDRNOTAVAIL 38 #undef ENETDOWN 39 #define ENETDOWN WSAENETDOWN 40 #undef ENETUNREACH 41 #define ENETUNREACH WSAENETUNREACH 42 #undef ENETRESET 43 #define ENETRESET WSAENETRESET 44 #undef ECONNABORTED 45 #define ECONNABORTED WSAECONNABORTED 46 #undef ECONNRESET 47 #define ECONNRESET WSAECONNRESET 48 #undef ENOBUFS 49 #define ENOBUFS WSAENOBUFS 50 #undef EISCONN 51 #define EISCONN WSAEISCONN 52 #undef ENOTCONN 53 #define ENOTCONN WSAENOTCONN 54 #undef ESHUTDOWN 55 #define ESHUTDOWN WSAESHUTDOWN 56 #undef ETOOMANYREFS 57 #define ETOOMANYREFS WSAETOOMANYREFS 58 #undef ETIMEDOUT 59 #define ETIMEDOUT WSAETIMEDOUT 60 #undef ECONNREFUSED 61 #define ECONNREFUSED WSAECONNREFUSED 62 #undef ELOOP 63 #define ELOOP WSAELOOP 64 #undef ENAMETOOLONG 65 #define ENAMETOOLONG WSAENAMETOOLONG 66 #undef EHOSTDOWN 67 #define EHOSTDOWN WSAEHOSTDOWN 68 #undef EHOSTUNREACH 69 #define EHOSTUNREACH WSAEHOSTUNREACH 70 #undef ENOTEMPTY 71 #define ENOTEMPTY WSAENOTEMPTY 72 #undef EPROCLIM 73 #define EPROCLIM WSAEPROCLIM 74 #undef EUSERS 75 #define EUSERS WSAEUSERS 76 #undef EDQUOT 77 #define EDQUOT WSAEDQUOT 78 #undef ESTALE 79 #define ESTALE WSAESTALE 80 #undef EREMOTE 81 #define EREMOTE WSAEREMOTE 82 #undef EDISCON 83 #define EDISCON WSAEDISCON 84 #undef ENOMORE 85 #define ENOMORE WSAENOMORE 86 #undef ECANCELLED 87 #define ECANCELLED WSAECANCELLED 88 #undef EREFUSED 89 #define EREFUSED WSAEREFUSED 90