[threadpool-io] Fix android build
authorLudovic Henry <ludovic.henry@xamarin.com>
Thu, 9 Apr 2015 21:31:15 +0000 (22:31 +0100)
committerLudovic Henry <ludovic.henry@xamarin.com>
Thu, 9 Apr 2015 21:31:34 +0000 (22:31 +0100)
mono/metadata/threadpool-ms-io.c

index 5bc9830d515aa9895ca7b8ce6b3fb525cd2fce5b..9ecf176cd239de4826cb81c9c72d76c482e5185a 100644 (file)
@@ -259,7 +259,7 @@ epoll_init (void)
 #ifdef EPOOL_CLOEXEC
        threadpool_io->epoll.fd = epoll_create1 (EPOLL_CLOEXEC);
 #else
-       threadpool_io->epoll.fd = epoll_create1 (256);
+       threadpool_io->epoll.fd = epoll_create (256);
        fcntl (threadpool_io->epoll.fd, F_SETFD, FD_CLOEXEC);
 #endif