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

Rob Landley rob at landley.net
Thu Oct 10 16:40:28 PDT 2019


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, and then ________ a few years later...



More information about the Toybox mailing list