[PATCH] D17880: [Compiler-rt] Use __gnu_linux__ instead of __linux__ to detect Linux OS
Yury Gribov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 4 02:31:58 PST 2016
ygribov added a subscriber: ygribov.
ygribov added a comment.
> linux will be present in android also making SANITIZER_LINUX true for android.
Isn't this intended? In (few) places where libsanitizer needs to distinguish between Linux and Android it explicitly checks for
#if (SANITIZER_LINUX && !SANITIZER_ANDROID)
Repository:
rL LLVM
http://reviews.llvm.org/D17880
More information about the llvm-commits
mailing list