summaryrefslogtreecommitdiff
path: root/libsanitizer/tsan/tsan_clock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/tsan/tsan_clock.cc')
-rw-r--r--libsanitizer/tsan/tsan_clock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsanitizer/tsan/tsan_clock.cc b/libsanitizer/tsan/tsan_clock.cc
index 037afc83fc6..23f9228a672 100644
--- a/libsanitizer/tsan/tsan_clock.cc
+++ b/libsanitizer/tsan/tsan_clock.cc
@@ -80,7 +80,7 @@
// We don't have ThreadState in these methods, so this is an ugly hack that
// works only in C++.
-#ifndef SANITIZER_GO
+#if !SANITIZER_GO
# define CPP_STAT_INC(typ) StatInc(cur_thread(), typ)
#else
# define CPP_STAT_INC(typ) (void)0