OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368542b
)
w32: Undefine error constants before their redefinition
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 28 Mar 2012 18:56:38 +0000
(20:56 +0200)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Tue, 3 Apr 2012 08:34:33 +0000
(09:34 +0100)
Avoids lots of warnings.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu_socket.h
patch
|
blob
|
history
diff --git
a/qemu_socket.h
b/qemu_socket.h
index
fe4cf6c
..
51ad210
100644
(file)
--- a/
qemu_socket.h
+++ b/
qemu_socket.h
@@
-8,7
+8,9
@@
#include <ws2tcpip.h>
#define socket_error() WSAGetLastError()
+#undef EWOULDBLOCK
#undef EINTR
+#undef EINPROGRESS
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EINTR WSAEINTR
#define EINPROGRESS WSAEINPROGRESS