qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/8] w32: Undefine error constants before their rede


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 2/8] w32: Undefine error constants before their redefinition
Date: Tue, 3 Apr 2012 11:42:41 +0100

From: Jan Kiszka <address@hidden>

Avoids lots of warnings.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 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.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]