[glib] gsocket: fix win32 build
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsocket: fix win32 build
- Date: Sun, 4 Sep 2011 13:53:17 +0000 (UTC)
commit 655c9f5753e5a2a6be863632149459d0952d208b
Author: Dan Winship <danw gnome org>
Date: Sun Sep 4 08:42:31 2011 -0400
gsocket: fix win32 build
https://bugzilla.gnome.org/show_bug.cgi?id=658157
gio/gsocket.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocket.c b/gio/gsocket.c
index 9d58c41..a03be77 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -389,7 +389,8 @@ g_socket_details_from_fd (GSocket *socket)
goto err;
}
#else
- errsv = ENOTSUP;
+ /* This will translate to G_IO_ERROR_FAILED on either unix or windows */
+ errsv = -1;
goto err;
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]