aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-10 09:27:50 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-10 11:01:59 +0200
commit2084a8e330bab402e9aab082aad9ce75f9f6db87 (patch)
treee6a851a436385a907accf21b98abf8b5fbb73b15
parent6c806637fac6d94e4c9608891e5adf48440cee46 (diff)
downloadqemu-2084a8e330bab402e9aab082aad9ce75f9f6db87.zip
qemu-2084a8e330bab402e9aab082aad9ce75f9f6db87.tar.gz
qemu-2084a8e330bab402e9aab082aad9ce75f9f6db87.tar.bz2
declare ECANCELED on all machines
This is needed in particular on Win32. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--qemu-common.h3
1 files changed, 3 insertions, 0 deletions
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