mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix build on !unix
There was one code block still referring to fd_list outside of the ifdef G_OS_UNIX. Pointed out by Sam Thursfield in bug 627392.
This commit is contained in:
parent
41ce91d057
commit
040bffed38
@ -1007,6 +1007,7 @@ write_message_continue_writing (MessageToWriteData *data)
|
||||
#endif
|
||||
else
|
||||
{
|
||||
#ifdef G_OS_UNIX
|
||||
if (fd_list != NULL)
|
||||
{
|
||||
g_simple_async_result_set_error (simple,
|
||||
@ -1018,6 +1019,7 @@ write_message_continue_writing (MessageToWriteData *data)
|
||||
g_object_unref (simple);
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
g_output_stream_write_async (ostream,
|
||||
(const gchar *) data->blob + data->total_written,
|
||||
|
Loading…
Reference in New Issue
Block a user