version 1.1, 2012/02/21 23:37:58
|
version 1.1.1.3, 2014/06/15 19:53:38
|
Line 27
|
Line 27
|
#endif |
#endif |
#endif |
#endif |
|
|
#ifdef __MINGW32__ | #if defined( __MINGW32__ ) || defined( _MSC_VER ) |
/* Include <errno.h> here to ensure that it doesn't get included later |
/* Include <errno.h> here to ensure that it doesn't get included later |
* (e.g. by iconv.h) and overwrites the definition of EWOULDBLOCK. */ |
* (e.g. by iconv.h) and overwrites the definition of EWOULDBLOCK. */ |
#include <errno.h> |
#include <errno.h> |
Line 39
|
Line 39
|
#endif |
#endif |
|
|
#define EWOULDBLOCK WSAEWOULDBLOCK |
#define EWOULDBLOCK WSAEWOULDBLOCK |
|
#define ESHUTDOWN WSAESHUTDOWN |
|
|
|
#if (!defined(_MSC_VER) || (_MSC_VER < 1600)) |
#define EINPROGRESS WSAEINPROGRESS |
#define EINPROGRESS WSAEINPROGRESS |
#define EALREADY WSAEALREADY |
#define EALREADY WSAEALREADY |
#define ENOTSOCK WSAENOTSOCK |
#define ENOTSOCK WSAENOTSOCK |
Line 61
|
Line 64
|
#define ENOBUFS WSAENOBUFS |
#define ENOBUFS WSAENOBUFS |
#define EISCONN WSAEISCONN |
#define EISCONN WSAEISCONN |
#define ENOTCONN WSAENOTCONN |
#define ENOTCONN WSAENOTCONN |
#define ESHUTDOWN WSAESHUTDOWN |
|
#define ETOOMANYREFS WSAETOOMANYREFS |
#define ETOOMANYREFS WSAETOOMANYREFS |
#define ETIMEDOUT WSAETIMEDOUT |
#define ETIMEDOUT WSAETIMEDOUT |
#define ECONNREFUSED WSAECONNREFUSED |
#define ECONNREFUSED WSAECONNREFUSED |
Line 79
|
Line 81
|
#define ENAMETOOLONG WSAENAMETOOLONG |
#define ENAMETOOLONG WSAENAMETOOLONG |
#define ENOTEMPTY WSAENOTEMPTY |
#define ENOTEMPTY WSAENOTEMPTY |
*/ |
*/ |
|
#endif /* _MSC_VER */ |
|
|
#endif /* __XML_WSOCKCOMPAT_H__ */ |
#endif /* __XML_WSOCKCOMPAT_H__ */ |