summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_glib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/ecore_glib.c')
-rw-r--r--src/lib/ecore/ecore_glib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_glib.c b/src/lib/ecore/ecore_glib.c
index a914f1b3ec..e21c486739 100644
--- a/src/lib/ecore/ecore_glib.c
+++ b/src/lib/ecore/ecore_glib.c
@@ -139,6 +139,7 @@ _ecore_glib_context_poll_to(GPollFD *pfds,
ready--;
if (!fstat(itr->fd, &st))
{
+#ifndef _MSC_VER
if (S_ISSOCK(st.st_mode))
{
struct sockaddr_in peer;
@@ -149,6 +150,7 @@ _ecore_glib_context_poll_to(GPollFD *pfds,
&length))
itr->revents |= G_IO_ERR;
}
+#endif
}
}
if (FD_ISSET(itr->fd, efds) && (itr->events & (G_IO_HUP | G_IO_ERR)))