forked from enlightenment/efl
win build - check for pause func and use only if its there
This commit is contained in:
parent
76b4fb27dc
commit
f28f756584
|
@ -545,6 +545,7 @@ realpath \
|
||||||
strlcpy \
|
strlcpy \
|
||||||
geteuid \
|
geteuid \
|
||||||
getuid \
|
getuid \
|
||||||
|
pause \
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
|
|
|
@ -301,7 +301,11 @@ _ecore_fd_valid(void)
|
||||||
if (fcntl(epoll_fd, F_GETFD) < 0)
|
if (fcntl(epoll_fd, F_GETFD) < 0)
|
||||||
{
|
{
|
||||||
ERR("arghhh you caught me! report a backtrace to edevel!");
|
ERR("arghhh you caught me! report a backtrace to edevel!");
|
||||||
|
#ifdef HAVE_PAUSE
|
||||||
pause();
|
pause();
|
||||||
|
#else
|
||||||
|
sleep(60);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue