summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-17 16:03:33 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-17 16:03:33 +0900
commit52c9c0e939db7fb7bce7822281d60299009092a4 (patch)
tree73472ee569ce5947f57d4e10647b7e16376743e9
parent4abe5d90e47dfbb8faf1ba0e95ba3aeb20647394 (diff)
downloadefl-52c9c0e939db7fb7bce7822281d60299009092a4.tar.gz
windows build - try fix again
-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)
pd->win32_handlers = (Ecore_Win32_Handler *)
eina_inlist_remove(EINA_INLIST_GET(pd->win32_handlers),
EINA_INLIST_GET(wh));
- if (fdh->handler) efl_del(fdh->handler);
+ if (wh->handler) efl_del(wh->handler);
else
{
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;
Ecore_Fd_Handler *fdh;
Eina_List *l;
- int max_fd, ret, err_no;
+ int max_fd, ret;
+#ifndef _WIN32
+ int err_no;
+#endif
t = NULL;
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);
else
ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
+#ifndef _WIN32
err_no = errno;
+#endif
eina_evlog("!WAKE", NULL, 0.0, NULL);
eina_evlog(">RUN", NULL, 0.0, NULL);