gsocket: fix win32 build

https://bugzilla.gnome.org/show_bug.cgi?id=658157
This commit is contained in:
Dan Winship 2011-09-04 08:42:31 -04:00
parent e943366de5
commit 655c9f5753

View File

@ -389,7 +389,8 @@ g_socket_details_from_fd (GSocket *socket)
goto err; goto err;
} }
#else #else
errsv = ENOTSUP; /* This will translate to G_IO_ERROR_FAILED on either unix or windows */
errsv = -1;
goto err; goto err;
#endif #endif
} }