diff options
Diffstat (limited to 'src/system/EPollFD.cxx')
-rw-r--r-- | src/system/EPollFD.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/system/EPollFD.cxx b/src/system/EPollFD.cxx index 39ddbca5e..d9200ed41 100644 --- a/src/system/EPollFD.cxx +++ b/src/system/EPollFD.cxx @@ -22,21 +22,6 @@ #include "EPollFD.hxx" #include "FatalError.hxx" -#if defined(__BIONIC__) && __ANDROID_API__ < 21 - -#include <sys/syscall.h> -#include <fcntl.h> - -#define EPOLL_CLOEXEC O_CLOEXEC - -static inline int -epoll_create1(int flags) -{ - return syscall(__NR_epoll_create1, flags); -} - -#endif - EPollFD::EPollFD() :fd(::epoll_create1(EPOLL_CLOEXEC)) { |