提交 f44e18ed 编写于 作者: D Daniel P. Berrange 提交者: Cole Robinson

Add stub impl of virNetlinkEventServiceLocalPid for Win32

The libvirt_private.syms file exports virNetlinkEventServiceLocalPid
so there needs to be a no-op stub for Win32 to avoid linker errors
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 2d191e8e)
上级 328d7da1
...@@ -659,6 +659,12 @@ bool virNetlinkEventServiceIsRunning(void) ...@@ -659,6 +659,12 @@ bool virNetlinkEventServiceIsRunning(void)
return 0; return 0;
} }
int virNetlinkEventServiceLocalPid(void)
{
netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
return -1;
}
/** /**
* virNetlinkEventAddClient: register a callback for handling of * virNetlinkEventAddClient: register a callback for handling of
* netlink messages * netlink messages
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册