mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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
|
||||
#endif
|
||||
|
||||
#if (_MSC_VER >= 1600)
|
||||
#ifdef EADDRNOTAVAIL
|
||||
#undef EADDRNOTAVAIL
|
||||
#endif
|
||||
#ifdef EAFNOSUPPORT
|
||||
#undef EAFNOSUPPORT
|
||||
#endif
|
||||
#ifdef ECONNABORTED
|
||||
#undef ECONNABORTED
|
||||
#endif
|
||||
#ifdef ECONNREFUSED
|
||||
#undef ECONNREFUSED
|
||||
#endif
|
||||
#ifdef ECONNREFUSED
|
||||
#undef ECONNREFUSED
|
||||
#endif
|
||||
#ifdef EMSGSIZE
|
||||
#undef EMSGSIZE
|
||||
#endif
|
||||
#ifdef EWOULDBLOCK
|
||||
#undef EWOULDBLOCK
|
||||
#endif
|
||||
#undef EACCES
|
||||
#ifdef EACCES
|
||||
#undef EACCES
|
||||
#endif
|
||||
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#define EMSGSIZE WSAEMSGSIZE
|
||||
|
|
Loading…
Reference in a new issue