]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Wed, 21 Jun 2017 14:42:30 +0000 (14:42 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Wed, 21 Jun 2017 14:42:30 +0000 (14:42 +0000)
Changes
ev.3
ev_epoll.c

diff --git a/Changes b/Changes
index 276f3de3a835e4560c8796918c4a1cf0a2428740..9968527e0302da852cd3f50fbbfc82341a89a431 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
 Revision history for libev, a high-performance and full-featured event loop.
 
        - ANDROID => __ANDROID__ (reported by enh@google.com).
+        - disable epoll_create1 on android because it has broken header files
+          and google is unwilling to fix them (reported by enh@google.com).
 
 4.24 Wed Dec 28 05:19:55 CET 2016
        - bump version to 4.24, as the release tarball inexplicably
diff --git a/ev.3 b/ev.3
index 5b2599e9bdf0fa94cdaf7f1938ea9793ad49b8be..9d6b203f73e91da5f8f08a4a329e12852be48e7a 100644 (file)
--- a/ev.3
+++ b/ev.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.30)
+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
 .\" ========================================================================
 .\"
 .IX Title "LIBEV 3"
-.TH LIBEV 3 "2016-11-16" "libev-4.23" "libev - high performance full featured event loop"
+.TH LIBEV 3 "2017-06-21" "libev-4.24" "libev - high performance full featured event loop"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -4523,11 +4523,11 @@ in your include path (e.g. in libev/ when using \-Ilibev):
 \&
 \&   ev_win32.c      required on win32 platforms only
 \&
-\&   ev_select.c     only when select backend is enabled (which is enabled by default)
-\&   ev_poll.c       only when poll backend is enabled (disabled by default)
-\&   ev_epoll.c      only when the epoll backend is enabled (disabled by default)
-\&   ev_kqueue.c     only when the kqueue backend is enabled (disabled by default)
-\&   ev_port.c       only when the solaris port backend is enabled (disabled by default)
+\&   ev_select.c     only when select backend is enabled
+\&   ev_poll.c       only when poll backend is enabled
+\&   ev_epoll.c      only when the epoll backend is enabled
+\&   ev_kqueue.c     only when the kqueue backend is enabled
+\&   ev_port.c       only when the solaris port backend is enabled
 .Ve
 .PP
 \&\fIev.c\fR includes the backend files directly when enabled, so you only need
index df118a6fee798621e89dac31178535e506718201..6aef8622284d3fb744cb2e7acc9468e2ee0b82d5 100644 (file)
@@ -239,7 +239,7 @@ inline_size
 int
 epoll_init (EV_P_ int flags)
 {
-#ifdef EPOLL_CLOEXEC
+#if defined EPOLL_CLOEXEC && !defined __ANDROID__
   backend_fd = epoll_create1 (EPOLL_CLOEXEC);
 
   if (backend_fd < 0 && (errno == EINVAL || errno == ENOSYS))