more explicit checks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4340 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9c163d60aa
commit
61e1eee0e9
1 changed files with 16 additions and 2 deletions
|
@ -100,16 +100,30 @@
|
||||||
#define IPV6_V6ONLY 27
|
#define IPV6_V6ONLY 27
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (_MSC_VER >= 1600)
|
#ifdef EADDRNOTAVAIL
|
||||||
#undef EADDRNOTAVAIL
|
#undef EADDRNOTAVAIL
|
||||||
|
#endif
|
||||||
|
#ifdef EAFNOSUPPORT
|
||||||
#undef EAFNOSUPPORT
|
#undef EAFNOSUPPORT
|
||||||
|
#endif
|
||||||
|
#ifdef ECONNABORTED
|
||||||
#undef ECONNABORTED
|
#undef ECONNABORTED
|
||||||
|
#endif
|
||||||
|
#ifdef ECONNREFUSED
|
||||||
#undef ECONNREFUSED
|
#undef ECONNREFUSED
|
||||||
|
#endif
|
||||||
|
#ifdef ECONNREFUSED
|
||||||
#undef ECONNREFUSED
|
#undef ECONNREFUSED
|
||||||
|
#endif
|
||||||
|
#ifdef EMSGSIZE
|
||||||
#undef EMSGSIZE
|
#undef EMSGSIZE
|
||||||
|
#endif
|
||||||
|
#ifdef EWOULDBLOCK
|
||||||
#undef EWOULDBLOCK
|
#undef EWOULDBLOCK
|
||||||
#endif
|
#endif
|
||||||
#undef EACCES
|
#ifdef EACCES
|
||||||
|
#undef EACCES
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||||
#define EMSGSIZE WSAEMSGSIZE
|
#define EMSGSIZE WSAEMSGSIZE
|
||||||
|
|
Loading…
Reference in a new issue