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

enh enh at google.com
Wed Oct 9 19:47:01 PDT 2019


Yeah, that should work for everything.

On Wed, Oct 9, 2019, 19:10 Rob Landley <rob at landley.net> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20191009/b74c6d5c/attachment.html>


More information about the Toybox mailing list