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:
Daniel P. Berrange 2012-05-24 13:14:57 +01:00
parent b3cf13bb2f
commit 2d191e8e27

View File

@ -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