forked from enlightenment/efl
windows build - try fix again
This commit is contained in:
parent
4abe5d90e4
commit
52c9c0e939
|
@ -1620,7 +1620,7 @@ _ecore_main_content_clear(Efl_Loop_Data *pd)
|
||||||
pd->win32_handlers = (Ecore_Win32_Handler *)
|
pd->win32_handlers = (Ecore_Win32_Handler *)
|
||||||
eina_inlist_remove(EINA_INLIST_GET(pd->win32_handlers),
|
eina_inlist_remove(EINA_INLIST_GET(pd->win32_handlers),
|
||||||
EINA_INLIST_GET(wh));
|
EINA_INLIST_GET(wh));
|
||||||
if (fdh->handler) efl_del(fdh->handler);
|
if (wh->handler) efl_del(wh->handler);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ECORE_MAGIC_SET(wh, ECORE_MAGIC_NONE);
|
ECORE_MAGIC_SET(wh, ECORE_MAGIC_NONE);
|
||||||
|
@ -1682,7 +1682,10 @@ _ecore_main_select(Eo *obj, Efl_Loop_Data *pd, double timeout)
|
||||||
fd_set rfds, wfds, exfds;
|
fd_set rfds, wfds, exfds;
|
||||||
Ecore_Fd_Handler *fdh;
|
Ecore_Fd_Handler *fdh;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
int max_fd, ret, err_no;
|
int max_fd, ret;
|
||||||
|
#ifndef _WIN32
|
||||||
|
int err_no;
|
||||||
|
#endif
|
||||||
|
|
||||||
t = NULL;
|
t = NULL;
|
||||||
if ((!ECORE_FINITE(timeout)) || (EINA_DBL_EQ(timeout, 0.0)))
|
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)
|
||||||
ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
|
ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
|
||||||
else
|
else
|
||||||
ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
|
ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
|
||||||
|
#ifndef _WIN32
|
||||||
err_no = errno;
|
err_no = errno;
|
||||||
|
#endif
|
||||||
eina_evlog("!WAKE", NULL, 0.0, NULL);
|
eina_evlog("!WAKE", NULL, 0.0, NULL);
|
||||||
eina_evlog(">RUN", NULL, 0.0, NULL);
|
eina_evlog(">RUN", NULL, 0.0, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue