From: Paolo Bonzini Date: Thu, 10 May 2012 07:27:50 +0000 (+0200) Subject: declare ECANCELED on all machines X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2084a8e330bab402e9aab082aad9ce75f9f6db87;p=qemu.git declare ECANCELED on all machines This is needed in particular on Win32. Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- diff --git a/qemu-common.h b/qemu-common.h index 50f659af07..cccfb42dd6 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