aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/lib/debug/trace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/lib/debug/trace.h b/src/core/lib/debug/trace.h
index bf3bfee306..ba432574d0 100644
--- a/src/core/lib/debug/trace.h
+++ b/src/core/lib/debug/trace.h
@@ -38,9 +38,11 @@
#include <grpc/support/port_platform.h>
#include <stdbool.h>
-#if defined(__has_feature) && __has_feature(thread_sanitizer)
+#if defined(__has_feature)
+#if __has_feature(thread_sanitizer)
#define GRPC_THREADSAFE_TRACER
#endif
+#endif
typedef struct {
#ifdef GRPC_THREADSAFE_TRACER