aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-01 00:52:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-16 00:18:17 +0000
commit3b46617bd91312c31ca0f3803392b1cec2ebb0d5 (patch)
tree696e22fcc955b8656fa35ae46f81a4224b08c7d6 /external
parenteasylogging++: allow clipping a common filename prefix (diff)
downloadmonero-3b46617bd91312c31ca0f3803392b1cec2ebb0d5.tar.xz
easylogging++: add ELPP_DISABLE_CHECK_MACROS
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/easylogging++.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h
index 806d9a81c..dcf16a75e 100644
--- a/external/easylogging++/easylogging++.h
+++ b/external/easylogging++/easylogging++.h
@@ -6687,6 +6687,7 @@ if (ELPP_DEBUG_LOG) C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAc
#define DLOG_N_TIMES(n, LEVEL) DCLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID)
#define DVLOG_N_TIMES(n, vlevel) DCVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID)
// Check macros
+#if !defined(ELPP_DISABLE_CHECK_MACROS)
#undef CCHECK
#undef CPCHECK
#undef CCHECK_EQ
@@ -6795,6 +6796,7 @@ if (ELPP_DEBUG_LOG) C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAc
#define DCHECK_STRCASEEQ(str1, str2) DCCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
#define DCHECK_STRCASENE(str1, str2) DCCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
#define DPCHECK(condition) DCPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID)
+#endif // define(ELPP_DISABLE_CHECK_MACROS)
#if defined(ELPP_DISABLE_DEFAULT_CRASH_HANDLING)
# define ELPP_USE_DEF_CRASH_HANDLER false
#else