On a Thursday in 2022, Michal Privoznik wrote:
The g_dbus_connection_call_with_unix_fd_list_sync() function is not defined always, only when G_OS_UNIX condition is set. This is
As of GLib commit c9874f817be51d3b652457daef3b10766b59db9a, relesed in GLib 2.73, the g_dbus_connection...
also the reason why our virGDBusCallMethodWithFD() function is guarded with that macro. But virgdbusmock is compiled always, even on !UNIX systems, e.g. mingw. Therefore, we need to use the same macro to condition compile its mock. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- tests/virgdbusmock.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano