[Toybox] [PATCH] libcutils isn't in the NDK.

Rob Landley rob at landley.net
Sun Oct 7 17:55:47 PDT 2018


On 10/07/2018 11:30 AM, enh wrote:
> Bug: https://github.com/landley/toybox/issues/43

This commit broke building on musl, because these:

-static inline int get_sched_policy(int tid, void *policy) {return 0;}
-static inline char *get_sched_policy_name(int policy) {return "unknown";}

Need to be defied anywhere that hasn't got them, and you moved them inside
#ifdef __BIONIC__.

Pushed a fix,

Rob



More information about the Toybox mailing list