removed warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1142 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-11-14 18:58:04 +00:00
parent 546fa6abd1
commit ef6ff6b71e

View File

@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#endif
#ifdef _WIN32
#undef errno
#define errno (WSAGetLastError())
#endif