summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore/ecore_main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index 34281ef39d..73a1135254 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -1620,7 +1620,7 @@ _ecore_main_content_clear(Efl_Loop_Data *pd)
1620 pd->win32_handlers = (Ecore_Win32_Handler *) 1620 pd->win32_handlers = (Ecore_Win32_Handler *)
1621 eina_inlist_remove(EINA_INLIST_GET(pd->win32_handlers), 1621 eina_inlist_remove(EINA_INLIST_GET(pd->win32_handlers),
1622 EINA_INLIST_GET(wh)); 1622 EINA_INLIST_GET(wh));
1623 if (fdh->handler) efl_del(fdh->handler); 1623 if (wh->handler) efl_del(wh->handler);
1624 else 1624 else
1625 { 1625 {
1626 ECORE_MAGIC_SET(wh, ECORE_MAGIC_NONE); 1626 ECORE_MAGIC_SET(wh, ECORE_MAGIC_NONE);
@@ -1682,7 +1682,10 @@ _ecore_main_select(Eo *obj, Efl_Loop_Data *pd, double timeout)
1682 fd_set rfds, wfds, exfds; 1682 fd_set rfds, wfds, exfds;
1683 Ecore_Fd_Handler *fdh; 1683 Ecore_Fd_Handler *fdh;
1684 Eina_List *l; 1684 Eina_List *l;
1685 int max_fd, ret, err_no; 1685 int max_fd, ret;
1686#ifndef _WIN32
1687 int err_no;
1688#endif
1686 1689
1687 t = NULL; 1690 t = NULL;
1688 if ((!ECORE_FINITE(timeout)) || (EINA_DBL_EQ(timeout, 0.0))) 1691 if ((!ECORE_FINITE(timeout)) || (EINA_DBL_EQ(timeout, 0.0)))
@@ -1779,7 +1782,9 @@ _ecore_main_select(Eo *obj, Efl_Loop_Data *pd, double timeout)
1779 ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t); 1782 ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
1780 else 1783 else
1781 ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t); 1784 ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
1785#ifndef _WIN32
1782 err_no = errno; 1786 err_no = errno;
1787#endif
1783 eina_evlog("!WAKE", NULL, 0.0, NULL); 1788 eina_evlog("!WAKE", NULL, 0.0, NULL);
1784 eina_evlog(">RUN", NULL, 0.0, NULL); 1789 eina_evlog(">RUN", NULL, 0.0, NULL);
1785 1790