Re: [PATCH] virgdbusmock: Mock g_dbus_connection_call_with_unix_fd_list_sync() only on UNIX-like systems

2022-09-30 Thread Ján Tomko
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

[PATCH] virgdbusmock: Mock g_dbus_connection_call_with_unix_fd_list_sync() only on UNIX-like systems

2022-09-29 Thread Michal Privoznik
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 also the reason why our virGDBusCallMethodWithFD() function is guarded with that macro. But virgdbusmock is compiled always, even on !UNIX systems, e.g. mingw.