aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/gpr
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-01 14:50:20 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-01 14:50:20 -0700
commit516150062129b5d8f0e2302eef780ed1d977ecac (patch)
treed1891a46e944d8170bcce27eaba165173776eba9 /src/core/lib/gpr
parent385a1f1643243c0e873d0423d4a2a337faa46c00 (diff)
polish macro
Diffstat (limited to 'src/core/lib/gpr')
-rw-r--r--src/core/lib/gpr/sync_posix.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/lib/gpr/sync_posix.cc b/src/core/lib/gpr/sync_posix.cc
index 1a1de597d0..012d85d78c 100644
--- a/src/core/lib/gpr/sync_posix.cc
+++ b/src/core/lib/gpr/sync_posix.cc
@@ -28,13 +28,9 @@
#include "src/core/lib/profiling/timers.h"
// For debug of the timer manager crash only.
-#ifndef kGMS_BuildConfig_EnableGRPCTimerCrashDebug
-#define kGMS_BuildConfig_EnableGRPCTimerCrashDebug() GRPC_DEBUG_TIMER_MANAGER
+#ifndef kGMS_BuildConfig_EnableGRPC
+#define kGMS_BuildConfig_EnableGRPC() GRPC_DEBUG_TIMER_MANAGER
#endif
-#ifndef kBuildConfig_EnableGRPCTimerCrashDebug
-#define kBuildConfig_EnableGRPCTimerCrashDebug() GRPC_DEBUG_TIMER_MANAGER
-#endif
-
// For debug of the timer manager crash only.
// TODO (mxyan): remove after bug is fixed.
#ifdef GRPC_DEBUG_TIMER_MANAGER