From: Dan Winship Date: Sun, 4 Sep 2011 12:42:31 +0000 (-0400) Subject: gsocket: fix win32 build X-Git-Tag: 2.29.90~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=655c9f5753e5a2a6be863632149459d0952d208b;p=platform%2Fupstream%2Fglib.git gsocket: fix win32 build https://bugzilla.gnome.org/show_bug.cgi?id=658157 --- 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 }