Created
December 9, 2019 20:09
-
-
Save jifang/b88731fb45dc81a695852f21661a206a to your computer and use it in GitHub Desktop.
Patch for compiling libev-4.19 with NDK r20b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- libev-4.19.orig/ev_select.c 2019-12-09 15:00:08.000000000 -0500 | |
+++ libev-4.19/ev_select.c 2019-12-09 14:49:46.000000000 -0500 | |
@@ -47,7 +47,7 @@ | |
#endif | |
#if defined(__ANDROID__) || defined(ANDROID) | |
-typedef int fd_mask; | |
+//typedef int fd_mask; // Android NDK r20b typedef fd_mask to unsigned long | |
#endif | |
#ifndef EV_SELECT_USE_FD_SET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment