diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-17 20:02:27 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-17 20:02:27 +0200 |
commit | 1ba35e1fd4871f2430d7f3bf5a799f2ad39f73ab (patch) | |
tree | 6a18adeae28bf65cc94aa1c08087db2e84fbee10 /src/system | |
parent | 4ba3812baf7ec552e7b17b275380b57a51e10f52 (diff) | |
parent | 98afae2520fbe5a322f803335b3142612fda4762 (diff) |
Merge tag 'v0.20.21'
release v0.20.21
Diffstat (limited to 'src/system')
-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 d22d3836b..a119ab05e 100644 --- a/src/system/EPollFD.cxx +++ b/src/system/EPollFD.cxx @@ -22,21 +22,6 @@ #include "EPollFD.hxx" #include "Error.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) noexcept -{ - return syscall(__NR_epoll_create1, flags); -} - -#endif - EPollFD::EPollFD() :fd(::epoll_create1(EPOLL_CLOEXEC)) { |