================
@@ -25,13 +25,10 @@
 #include <sstream>
 
 #ifdef __ANDROID__
----------------
enh-google wrote:

> The ptrace header issue and the bits from ar.h header I'll submit. SUN_LEN 
> was only added 6 years ago so I figure keep it for a little bit longer.

but it's just a macro in a header, so as long as you're building with an _ndk_ 
that's less than 6 years old (and no _supported_ ndk is more than 1 year old), 
"this is fine".

(the ndk has a "unified headers" model where we use clang availability 
annotations _on functions_ so we can use the exact same headers regardless of 
what api level you're targeting. so any types/macros/etc "just work" even for 
OS releases where they weren't present.)

https://github.com/llvm/llvm-project/pull/124047
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to