aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-10-27 15:08:52 +0000
committerxiphon <xiphon@protonmail.com>2018-10-27 15:08:52 +0000
commitf067bb0c8b9d43a5c6bd04ee19674e8c574aea45 (patch)
tree41b13c994cd62a2941e5b158d6758b8773308883
parent2287fb9fb43b7d235b6c1ba08c3d8a47bf69c497 (diff)
downloadmonzero-core-f067bb0c8b9d43a5c6bd04ee19674e8c574aea45.tar.gz
monzero-core-f067bb0c8b9d43a5c6bd04ee19674e8c574aea45.tar.xz
monzero-core-f067bb0c8b9d43a5c6bd04ee19674e8c574aea45.zip
tests: fix MSYS2 warning 'MONERO_DEFAULT_LOG_CATEGORY redefined'
-rw-r--r--contrib/epee/include/misc_log_ex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h
index 530f8e636..9100a8db3 100644
--- a/contrib/epee/include/misc_log_ex.h
+++ b/contrib/epee/include/misc_log_ex.h
@@ -32,7 +32,9 @@
#include "easylogging++.h"
+#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "default"
+
#define MAX_LOG_FILE_SIZE 104850000 // 100 MB - 7600 bytes
#define MAX_LOG_FILES 50