[PATCH] D14647: [tsan] Fix a typo in tsan_test_util.h

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 03:32:35 PST 2015


kubabrecka created this revision.
kubabrecka added reviewers: dvyukov, kcc, glider, samsonov.
kubabrecka added subscribers: llvm-commits, zaks.anna, ismailp.

There is a typo in tsan_test_util.h, it shouldn't be `APPLE`, but `__APPLE__`.

http://reviews.llvm.org/D14647

Files:
  lib/tsan/tests/rtl/tsan_test_util.h

Index: lib/tsan/tests/rtl/tsan_test_util.h
===================================================================
--- lib/tsan/tests/rtl/tsan_test_util.h
+++ lib/tsan/tests/rtl/tsan_test_util.h
@@ -34,7 +34,7 @@
   enum Type {
     Normal,
     RW,
-#ifndef APPLE
+#ifndef __APPLE__
     Spin
 #else
     Spin = Normal


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14647.40133.patch
Type: text/x-patch
Size: 316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151113/9199e92f/attachment.bin>


More information about the llvm-commits mailing list