Actually check the return value of epoll_create to make sure it works.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-08-18 23:58:51 +00:00
parent 447fada0c1
commit 5923c7fe8c
2 changed files with 10 additions and 2 deletions

6
configure vendored
View File

@@ -15636,7 +15636,11 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
epoll_create(10);
int res = epoll_create(10);
if (res < 0)
return 1;
close (res);
return 0;
;
return 0;
}