ecore: silent pointless warning when not having epoll

Reviewers: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1441
This commit is contained in:
Jean Guyomarc'h 2014-09-16 12:11:59 +02:00 committed by Stefan Schmidt
parent d8edcfea3e
commit 5ac739efc6
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ void
_ecore_main_loop_init(void)
{
epoll_fd = epoll_create(1);
if (epoll_fd < 0)
if ((epoll_fd < 0) && HAVE_EPOLL)
WRN("Failed to create epoll fd!");
epoll_pid = getpid();
_ecore_fd_close_on_exec(epoll_fd);