[compiler-rt] r253078 - [tsan] Fix a typo in tsan_test_util.h
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 12:42:57 PST 2015
Author: kuba.brecka
Date: Fri Nov 13 14:42:57 2015
New Revision: 253078
URL: http://llvm.org/viewvc/llvm-project?rev=253078&view=rev
Log:
[tsan] Fix a typo in tsan_test_util.h
There is a typo in tsan_test_util.h, it shouldn't be `APPLE`, but `__APPLE__`.
Differential Revision: http://reviews.llvm.org/D14647
Modified:
compiler-rt/trunk/lib/tsan/tests/rtl/tsan_test_util.h
Modified: compiler-rt/trunk/lib/tsan/tests/rtl/tsan_test_util.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/tests/rtl/tsan_test_util.h?rev=253078&r1=253077&r2=253078&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/tests/rtl/tsan_test_util.h (original)
+++ compiler-rt/trunk/lib/tsan/tests/rtl/tsan_test_util.h Fri Nov 13 14:42:57 2015
@@ -34,7 +34,7 @@ class Mutex {
enum Type {
Normal,
RW,
-#ifndef APPLE
+#ifndef __APPLE__
Spin
#else
Spin = Normal
More information about the llvm-commits
mailing list