diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 14:33:38 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-19 14:33:38 +0000 |
commit | 24e13723f8477d8c42ab8b2a7f4f69fc089842f1 (patch) | |
tree | b2ff89fa4a47ca3bd5e54c1066a1ab80b9b6cef8 /lib/asan/asan_linux.cc | |
parent | 83cb7877f608eb9b3d65981095216842f686c527 (diff) | |
download | compiler-rt-24e13723f8477d8c42ab8b2a7f4f69fc089842f1.tar.gz compiler-rt-24e13723f8477d8c42ab8b2a7f4f69fc089842f1.tar.bz2 compiler-rt-24e13723f8477d8c42ab8b2a7f4f69fc089842f1.tar.xz |
[sanitizer] Replace more platform checks with SANITIZER_ constants.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_linux.cc')
-rw-r--r-- | lib/asan/asan_linux.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/asan/asan_linux.cc b/lib/asan/asan_linux.cc index 9b2ed170..b2df5a98 100644 --- a/lib/asan/asan_linux.cc +++ b/lib/asan/asan_linux.cc @@ -11,7 +11,9 @@ // // Linux-specific details. //===----------------------------------------------------------------------===// -#ifdef __linux__ + +#include "sanitizer_common/sanitizer_platform.h" +#if SANITIZER_LINUX #include "asan_interceptors.h" #include "asan_internal.h" |