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>
(cherry picked from commit 2d191e8e27)
This commit is contained in:
Daniel P. Berrange 2012-05-24 13:14:57 +01:00 committed by Cole Robinson
parent 328d7da106
commit f44e18ed93

View File

@ -659,6 +659,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