summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:33:38 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:33:38 +0000
commit24e13723f8477d8c42ab8b2a7f4f69fc089842f1 (patch)
treeb2ff89fa4a47ca3bd5e54c1066a1ab80b9b6cef8 /lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
parent83cb7877f608eb9b3d65981095216842f686c527 (diff)
downloadcompiler-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/sanitizer_common/sanitizer_stoptheworld_linux.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_stoptheworld_linux.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc b/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
index e0727808..624d4a83 100644
--- a/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
+++ b/lib/sanitizer_common/sanitizer_stoptheworld_linux.cc
@@ -12,7 +12,9 @@
//
//===----------------------------------------------------------------------===//
-#ifdef __linux__
+
+#include "sanitizer_platform.h"
+#if SANITIZER_LINUX
#include "sanitizer_stoptheworld.h"