From f3003885911eb303db69bcfef98161b8326b7dae Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 3 May 2017 13:56:15 -0700 Subject: Better? feature test --- src/core/lib/debug/trace.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/lib/debug') 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 #include -#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 -- cgit v1.2.3