From 6131c5e5cc1e83fdbfbc8fc4ce419765ba3d180a Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 31 Jul 2018 13:24:14 -0400 Subject: add cmake options --- include/hotstuff/util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/hotstuff/util.h') diff --git a/include/hotstuff/util.h b/include/hotstuff/util.h index 2b02cfd..99b5ea4 100644 --- a/include/hotstuff/util.h +++ b/include/hotstuff/util.h @@ -13,12 +13,12 @@ class Logger: public salticidae::Logger { extern Logger logger; -#ifdef HOTSTUFF_ENABLE_DEBUG_LOG +#ifdef HOTSTUFF_DEBUG_LOG #define HOTSTUFF_NORMAL_LOG #define HOTSTUFF_ENABLE_LOG_DEBUG #endif -#ifdef HOTSTUFF_ENABLE_NORMAL_LOG +#ifdef HOTSTUFF_NORMAL_LOG #define HOTSTUFF_ENABLE_LOG_INFO #define HOTSTUFF_ENABLE_LOG_WARN #endif @@ -43,7 +43,7 @@ extern Logger logger; #define HOTSTUFF_LOG_ERROR(...) hotstuff::logger.error(__VA_ARGS__) -#ifdef HOTSTUFF_ENABLE_BLK_PROFILE +#ifdef HOTSTUFF_BLK_PROFILE class BlockProfiler { enum BlockState { BLK_SEEN, -- cgit v1.2.3