Преглед изворни кода

Do not use direct epoll_wait on android because of SECCOMP limitation

Caleb James DeLisle пре 1 година
родитељ
комит
1b00bb1f46
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      node_build/dependencies/libuv/src/unix/linux-core.c

+ 3 - 0
node_build/dependencies/libuv/src/unix/linux-core.c

@@ -139,6 +139,9 @@ void uv__io_poll(uv_loop_t* loop, int timeout) {
   int op;
   int i;
   static int no_epoll_wait;
+  #ifdef Cjdns_android
+    no_epoll_wait = 1;
+  #endif
 
   if (loop->nfds == 0) {
     assert(QUEUE_EMPTY(&loop->watcher_queue));