From 1336052497b982f4ae5c27133da1d51c15a2bbf1 Mon Sep 17 00:00:00 2001 From: fengjian Date: Wed, 17 Feb 2016 20:22:40 +0800 Subject: [PATCH] fix ios build error --- util/perf_context_imp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/perf_context_imp.h b/util/perf_context_imp.h index 6ef2a80119..ee1a7c318d 100644 --- a/util/perf_context_imp.h +++ b/util/perf_context_imp.h @@ -13,7 +13,7 @@ namespace rocksdb { #if defined(NPERF_CONTEXT) || defined(IOS_CROSS_COMPILE) #define PERF_TIMER_GUARD(metric) -#define PERF_CONDITIONAL_TIMER_GUARD(metric, condition) +#define PERF_CONDITIONAL_TIMER_FOR_MUTEX_GUARD(metric, condition) #define PERF_TIMER_MEASURE(metric) #define PERF_TIMER_STOP(metric) #define PERF_TIMER_START(metric)