removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1142 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
546fa6abd1
commit
ef6ff6b71e
@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef errno
|
||||
#define errno (WSAGetLastError())
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user