[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1.1] declare ECANCELED on all machines
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 1.1] declare ECANCELED on all machines |
Date: |
Thu, 10 May 2012 09:27:50 +0200 |
This is needed in particular on Win32.
Signed-off-by: Paolo Bonzini <address@hidden>
---
Kevin, this fixes the failure to build block branch on mingw.
qemu-common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/qemu-common.h b/qemu-common.h
index 50f659a..cccfb42 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -61,6 +61,9 @@ typedef struct Monitor Monitor;
#if !defined(ENOTSUP)
#define ENOTSUP 4096
#endif
+#if !defined(ECANCELED)
+#define ECANCELED 4097
+#endif
#ifndef TIME_MAX
#define TIME_MAX LONG_MAX
#endif
--
1.7.10.1
- [Qemu-devel] [PATCH 1.1] declare ECANCELED on all machines,
Paolo Bonzini <=