Better? feature test

reviewable/pr10961/r1
Craig Tiller 8 years ago
parent 84f75d448e
commit f300388591
  1. 4
      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

Loading…
Cancel
Save