summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-17 18:44:05 +0200
committerMax Kellermann <max@musicpd.org>2018-08-17 19:01:37 +0200
commit98efb4f6d518765af5a9f9d86fffc33a94056fdb (patch)
tree3ba3981c80f85ec72cf0c283a1194b0e91404de6 /src/system
parent36edb4886c371b90bdc27eed305f112196dfb765 (diff)
android: raise minSdkVersion to 21
The number of MPD installs on Android < 5.0 is negligible, and that API version introduces lots of useful features for MPD.
Diffstat (limited to 'src/system')
-rw-r--r--src/system/EPollFD.cxx15
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))
{