All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] w32: Undefine error constants before their redefinition
@ 2012-03-28 18:56 ` Jan Kiszka
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Kiszka @ 2012-03-28 18:56 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Stefan Weil, qemu-devel

Avoids lots of warnings.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 qemu_socket.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qemu_socket.h b/qemu_socket.h
index fe4cf6c..51ad210 100644
--- 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
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-29 18:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 18:56 [Qemu-trivial] [PATCH] w32: Undefine error constants before their redefinition Jan Kiszka
2012-03-28 18:56 ` [Qemu-devel] " Jan Kiszka
2012-03-29  6:53 ` [Qemu-trivial] " Stefan Hajnoczi
2012-03-29  6:53   ` [Qemu-devel] " Stefan Hajnoczi
2012-03-29 18:02 ` [Qemu-trivial] [Qemu-devel] " Stefan Weil
2012-03-29 18:02   ` Stefan Weil
2012-03-29 18:36   ` [Qemu-trivial] " Jan Kiszka
2012-03-29 18:36     ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.