Make the epoll check work more reliably.
Submitted by spb.
This commit is contained in:
parent
c422d2a067
commit
33b310b376
|
@ -796,7 +796,7 @@ main(int argc, char **argv)
|
||||||
int epfd;
|
int epfd;
|
||||||
|
|
||||||
epfd = epoll_create(256);
|
epfd = epoll_create(256);
|
||||||
exit (epfd == -1 ? 1 : 0);
|
return (epfd == -1 ? 1 : 0);
|
||||||
}, [AC_MSG_RESULT(yes)
|
}, [AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_EPOLL, 1,
|
AC_DEFINE(HAVE_EPOLL, 1,
|
||||||
[Define if your system supports the epoll system calls])
|
[Define if your system supports the epoll system calls])
|
||||||
|
|
Loading…
Reference in New Issue