--- libev/ev.c 2016/02/18 04:48:05 1.480 +++ libev/ev.c 2017/06/01 20:25:50 1.481 @@ -365,7 +365,7 @@ # define EV_HEAP_CACHE_AT EV_FEATURE_DATA #endif -#ifdef ANDROID +#ifdef __ANDROID__ /* supposedly, android doesn't typedef fd_mask */ # undef EV_USE_SELECT # define EV_USE_SELECT 0