<div dir="auto">Yeah, that should work for everything.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 9, 2019, 19:10 Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/9/19 11:27 AM, enh wrote:<br>
> if you want a quick hack, and don't care about _old_ versions of the<br>
> NDK (which you don't, because they can't build toybox anyway), you<br>
> could replace __ANDROID_NDK__ with __NDK_MAJOR__. that should fix r20<br>
> and also work for r19 and r21 (and the OS, because it won't be set<br>
> there, which is intended in this case).<br>
<br>
How about:<br>
<br>
#if defined(__BIONIC__) && !defined(__ANDROID_NDK__) && !defined(__NDK_MAJOR__)<br>
<br>
Rob<br>
</blockquote></div>