[Top][All Lists]
[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
- [Qemu-devel] [PULL 0/8] Trivial patches for 27 March to 3 April 2012, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 5/8] main-loop: make qemu_event_handle static, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 3/8] qtest: Add missing GCC_FMT_ATTR, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 1/8] configure: fix mingw32 libs_qga typo, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 2/8] w32: Undefine error constants before their redefinition,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/8] block/curl: Replace usleep by g_usleep, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 6/8] configure: Link QEMU against 'liburcu-bp', Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 7/8] configure: Link qga against UST tracing related libraries, Stefan Hajnoczi, 2012/04/03
- [Qemu-devel] [PATCH 8/8] make: fix clean rule by removing build file in qom/, Stefan Hajnoczi, 2012/04/03
- Re: [Qemu-devel] [PULL 0/8] Trivial patches for 27 March to 3 April 2012, Anthony Liguori, 2012/04/10