提交 2084a8e3 编写于 作者: P Paolo Bonzini 提交者: Kevin Wolf

declare ECANCELED on all machines

This is needed in particular on Win32.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NKevin Wolf <kwolf@redhat.com>
上级 6c806637
...@@ -61,6 +61,9 @@ typedef struct Monitor Monitor; ...@@ -61,6 +61,9 @@ typedef struct Monitor Monitor;
#if !defined(ENOTSUP) #if !defined(ENOTSUP)
#define ENOTSUP 4096 #define ENOTSUP 4096
#endif #endif
#if !defined(ECANCELED)
#define ECANCELED 4097
#endif
#ifndef TIME_MAX #ifndef TIME_MAX
#define TIME_MAX LONG_MAX #define TIME_MAX LONG_MAX
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册