diff options
Diffstat (limited to 'lib/tsan/tests/rtl/tsan_test_util.h')
-rw-r--r-- | lib/tsan/tests/rtl/tsan_test_util.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/tsan/tests/rtl/tsan_test_util.h b/lib/tsan/tests/rtl/tsan_test_util.h index 84d277b137f07..31b1b188f6247 100644 --- a/lib/tsan/tests/rtl/tsan_test_util.h +++ b/lib/tsan/tests/rtl/tsan_test_util.h @@ -31,7 +31,15 @@ class MemLoc { class Mutex { public: - enum Type { Normal, Spin, RW }; + enum Type { + Normal, + RW, +#ifndef __APPLE__ + Spin +#else + Spin = Normal +#endif + }; explicit Mutex(Type type = Normal); ~Mutex(); |