summaryrefslogtreecommitdiffstats
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-04-14 19:31:24 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:03:49 -0600
commit3ea6168dc9d996f62f7388162c8c2ebcfe4e4e1b (patch)
tree6c846d9a088290fc6d0f5cca2ba8ae2271775774 /slirp/slirp.h
parent582363f81e61f75ccc3cb2ab58c7d610995c0590 (diff)
downloadhqemu-3ea6168dc9d996f62f7388162c8c2ebcfe4e4e1b.zip
hqemu-3ea6168dc9d996f62f7388162c8c2ebcfe4e4e1b.tar.gz
wxx: Fix broken TCP networking (regression)
It is broken since commit c619644067f98098dcdbc951e2dda79e97560afa. Reported-by: Michael Fritscher <michael@fritscher.net> Tested-by: Michael Fritscher <michael@fritscher.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index c99ebb9..203deec 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -347,9 +347,4 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#define max(x,y) ((x) > (y) ? (x) : (y))
#endif
-#ifdef _WIN32
-#undef errno
-#define errno (WSAGetLastError())
-#endif
-
#endif
OpenPOWER on IntegriCloud