[glib] Fix build on !unix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix build on !unix
- Date: Sun, 22 Aug 2010 02:16:27 +0000 (UTC)
commit 040bffed38529f18d71713fce994b8ea705dbfb6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 21 22:14:28 2010 -0400
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.
gio/gdbusprivate.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c
index d4d7a0b..2e4a104 100644
--- a/gio/gdbusprivate.c
+++ b/gio/gdbusprivate.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]