Make the epoll check work more reliably.
Submitted by spb.
This commit is contained in:
parent
c422d2a067
commit
33b310b376
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue