aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp')
-rw-r--r--compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp b/compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp
index 1465f9953c19..e9c0f3b91924 100644
--- a/compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp
+++ b/compiler-rt/lib/tsan/rtl-old/tsan_platform_mac.cpp
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "sanitizer_common/sanitizer_platform.h"
-#if SANITIZER_MAC
+#if SANITIZER_APPLE
#include "sanitizer_common/sanitizer_atomic.h"
#include "sanitizer_common/sanitizer_common.h"
@@ -323,4 +323,4 @@ int call_pthread_cancel_with_cleanup(int (*fn)(void *arg),
} // namespace __tsan
-#endif // SANITIZER_MAC
+#endif // SANITIZER_APPLE