# HG changeset patch # User Herman Bloggs # Date 1040758864 0 # Node ID 391fd7aebe7c1dcd6a1de434ff2d59fb4a9aaf5e # Parent 26a18ba4d79fa50c2a70bafa2a7304468ef58b10 [gaim-migrate @ 4348] used to be winerror.h committer: Tailor Script diff -r 26a18ba4d79f -r 391fd7aebe7c src/win32/wgaimerror.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/win32/wgaimerror.h Tue Dec 24 19:41:04 2002 +0000 @@ -0,0 +1,41 @@ +/* + * wgaimerror.h + * + * Author: Herman Bloggs + * Date: October 14, 2002 + * Description: Redefine Unix Errors + */ + +#ifndef _WGAIMERROR_H +#define _WGAIMERROR_H + +/* Here we define unix socket errors as windows socket errors */ + +#define ENETDOWN WSAENETDOWN +#define EAFNOSUPPORT WSAEAFNOSUPPORT +#define EINPROGRESS WSAEINPROGRESS +#define ENOBUFS WSAENOBUFS +#define EPROTONOSUPPORT WSAEPROTONOSUPPORT +#define EPROTOTYPE WSAEPROTOTYPE +#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT + +#define EADDRINUSE WSAEADDRINUSE +#define EINPROGRESS WSAEINPROGRESS +#define EALREADY WSAEALREADY +#define EADDRNOTAVAIL WSAEADDRNOTAVAIL +#define ECONNREFUSED WSAECONNREFUSED +#define EISCONN WSAEISCONN +#define ENETUNREACH WSAENETUNREACH +#define ENOTSOCK WSAENOTSOCK +#define ETIMEDOUT WSAETIMEDOUT +#define EWOULDBLOCK WSAEWOULDBLOCK + +#define ENOTCONN WSAENOTCONN +#define ENETRESET WSAENETRESET +#define EOPNOTSUPP WSAEOPNOTSUPP +#define ESHUTDOWN WSAESHUTDOWN +#define EMSGSIZE WSAEMSGSIZE +#define ECONNABORTED WSAECONNABORTED +#define ECONNRESET WSAECONNRESET + +#endif /* end _WGAIMERROR_H */