summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h b/compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h
index afc6efd707d..31b1b188f62 100644
--- a/compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h
+++ b/compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h
@@ -34,7 +34,7 @@ class Mutex {
enum Type {
Normal,
RW,
-#ifndef APPLE
+#ifndef __APPLE__
Spin
#else
Spin = Normal
OpenPOWER on IntegriCloud