Commit ef6ff6b71e9be413acaa5f34805990739077f336
1 parent
546fa6ab
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1142 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
slirp/slirp.h
@@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err); | @@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err); | ||
331 | #endif | 331 | #endif |
332 | 332 | ||
333 | #ifdef _WIN32 | 333 | #ifdef _WIN32 |
334 | +#undef errno | ||
334 | #define errno (WSAGetLastError()) | 335 | #define errno (WSAGetLastError()) |
335 | #endif | 336 | #endif |
336 | 337 |