aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-14 18:58:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-14 18:58:04 +0000
commitef6ff6b71e9be413acaa5f34805990739077f336 (patch)
treebae93f80cb3c35c440be8105300a1aa3fc9eef0c
parent546fa6abd13240365ffd7afb5fd8795617a9131e (diff)
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1142 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--slirp/slirp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index fb55ad9c32..1bb189d4b7 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#endif
#ifdef _WIN32
+#undef errno
#define errno (WSAGetLastError())
#endif