aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-07-26 14:54:21 -0400
committerDeterminant <tederminant@gmail.com>2018-07-26 14:54:21 -0400
commit5f00c067f863f812a740dc209b1fb829f04042eb (patch)
tree1a4452299d729d9cd5c75871c2fdc32f2ee45564 /include
parenta3f76ac9bb539ba55431cc74f5de09653185cdef (diff)
add auto generated config.h
Diffstat (limited to 'include')
-rw-r--r--include/hotstuff/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hotstuff/util.h b/include/hotstuff/util.h
index 42c0135..2b02cfd 100644
--- a/include/hotstuff/util.h
+++ b/include/hotstuff/util.h
@@ -1,6 +1,7 @@
#ifndef _HOTSTUFF_UTIL_H
#define _HOTSTUFF_UTIL_H
+#include "hotstuff/config.h"
#include "salticidae/util.h"
namespace hotstuff {
@@ -12,12 +13,12 @@ class Logger: public salticidae::Logger {
extern Logger logger;
-#ifdef HOTSTUFF_DEBUG_LOG
+#ifdef HOTSTUFF_ENABLE_DEBUG_LOG
#define HOTSTUFF_NORMAL_LOG
#define HOTSTUFF_ENABLE_LOG_DEBUG
#endif
-#ifdef HOTSTUFF_NORMAL_LOG
+#ifdef HOTSTUFF_ENABLE_NORMAL_LOG
#define HOTSTUFF_ENABLE_LOG_INFO
#define HOTSTUFF_ENABLE_LOG_WARN
#endif