Make the epoll check work more reliably.

Submitted by spb.
This commit is contained in:
Jilles Tjoelker 2007-12-13 00:43:31 +01:00
parent c422d2a067
commit 33b310b376
1 changed files with 1 additions and 1 deletions

View File

@ -796,7 +796,7 @@ main(int argc, char **argv)
int epfd;
epfd = epoll_create(256);
exit (epfd == -1 ? 1 : 0);
return (epfd == -1 ? 1 : 0);
}, [AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_EPOLL, 1,
[Define if your system supports the epoll system calls])