Mercurial > pidgin.yaz
comparison src/win32/winerror.h @ 3719:5233e2276a72
[gaim-migrate @ 3852]
Redefines unix errors to win32 errors
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 16 Oct 2002 20:02:57 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3718:fd3880c03f0d | 3719:5233e2276a72 |
---|---|
1 /* | |
2 * winerror.h | |
3 * | |
4 * Author: Herman Bloggs <hermanator12002@yahoo.com> | |
5 * Date: October 14, 2002 | |
6 * Description: Redefine Unix Errors | |
7 */ | |
8 | |
9 #ifndef _WINERROR_H | |
10 #define _WINERROR_H | |
11 | |
12 /* Here we define unix socket errors as windows socket errors */ | |
13 | |
14 #define ENETDOWN WSAENETDOWN | |
15 #define EAFNOSUPPORT WSAEAFNOSUPPORT | |
16 #define EINPROGRESS WSAEINPROGRESS | |
17 #define ENOBUFS WSAENOBUFS | |
18 #define EPROTONOSUPPORT WSAEPROTONOSUPPORT | |
19 #define EPROTOTYPE WSAEPROTOTYPE | |
20 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT | |
21 | |
22 #define EADDRINUSE WSAEADDRINUSE | |
23 #define EINPROGRESS WSAEINPROGRESS | |
24 #define EALREADY WSAEALREADY | |
25 #define EADDRNOTAVAIL WSAEADDRNOTAVAIL | |
26 #define ECONNREFUSED WSAECONNREFUSED | |
27 #define EISCONN WSAEISCONN | |
28 #define ENETUNREACH WSAENETUNREACH | |
29 #define ENOTSOCK WSAENOTSOCK | |
30 #define ETIMEDOUT WSAETIMEDOUT | |
31 #define EWOULDBLOCK WSAEWOULDBLOCK | |
32 | |
33 #define ENOTCONN WSAENOTCONN | |
34 #define ENETRESET WSAENETRESET | |
35 #define EOPNOTSUPP WSAEOPNOTSUPP | |
36 #define ESHUTDOWN WSAESHUTDOWN | |
37 #define EMSGSIZE WSAEMSGSIZE | |
38 #define ECONNABORTED WSAECONNABORTED | |
39 #define ECONNRESET WSAECONNRESET | |
40 | |
41 #endif /* end _WINERROR_H */ |