From 516150062129b5d8f0e2302eef780ed1d977ecac Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Mon, 1 Oct 2018 14:50:20 -0700 Subject: polish macro --- src/core/lib/gpr/sync_posix.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/core/lib/gpr') 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 -- cgit v1.2.3