提交 87506c2b 编写于 作者: M Matthias Bolte

xen: Fix inside_daemon beeing unused when libvirtd is disabled

The defined __sun is there, because inside_daemon is used in xenUnifiedOpen
if __sun is defined.
上级 258923f2
......@@ -70,7 +70,9 @@ static struct xenUnifiedDriver const * const drivers[XEN_UNIFIED_NR_DRIVERS] = {
#endif
};
#if defined WITH_LIBVIRTD || defined __sun
static int inside_daemon;
#endif
#define xenUnifiedError(code, ...) \
virReportErrorHelper(NULL, VIR_FROM_XEN, code, __FILE__, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册