From f067bb0c8b9d43a5c6bd04ee19674e8c574aea45 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sat, 27 Oct 2018 15:08:52 +0000 Subject: [PATCH] tests: fix MSYS2 warning 'MONERO_DEFAULT_LOG_CATEGORY redefined' --- contrib/epee/include/misc_log_ex.h | 2 ++ 1 file changed, 2 insertions(+) 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