[Toybox] What am I doing wrong with ndk-r20?

enh enh at google.com
Thu Oct 10 18:54:54 PDT 2019


On Thu, Oct 10, 2019 at 4:38 PM Rob Landley <rob at landley.net> wrote:
>
> On 10/10/19 4:55 PM, Dan Albert wrote:
> > Use `defined(__ANDROID__) && __has_include(<android/ndk-version.h>)` ? Android
> > only uses Clang so __has_include is safe to use in that configuration. Can guard
> > with `defined(__clang__)` as well if you want to be absolutely sure.
>
> Cool, I'll use that. Thanks.
>
> Rob
>
> P.S. I look forward to ____ becoming the new "but what if we collide with
> something that already exists?" prefix,

you might want to check out some of the ___Unwind_ and ___cxa_ symbols...

> and then ________ a few years later...

way ahead of you:
https://elixir.bootlin.com/linux/latest/source/include/linux/rcupdate.h#L309



More information about the Toybox mailing list