Yeah, that should work for everything.

On Wed, Oct 9, 2019, 19:10 Rob Landley <[email protected]> wrote:

> On 10/9/19 11:27 AM, enh wrote:
> > if you want a quick hack, and don't care about _old_ versions of the
> > NDK (which you don't, because they can't build toybox anyway), you
> > could replace __ANDROID_NDK__ with __NDK_MAJOR__. that should fix r20
> > and also work for r19 and r21 (and the OS, because it won't be set
> > there, which is intended in this case).
>
> How about:
>
> #if defined(__BIONIC__) && !defined(__ANDROID_NDK__) &&
> !defined(__NDK_MAJOR__)
>
> Rob
>
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to