mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
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: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
b3cf13bb2f
commit
2d191e8e27
@ -669,6 +669,12 @@ bool virNetlinkEventServiceIsRunning(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int virNetlinkEventServiceLocalPid(void)
|
||||
{
|
||||
netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* virNetlinkEventAddClient: register a callback for handling of
|
||||
* netlink messages
|
||||
|
Loading…
Reference in New Issue
Block a user