From b311b0c6da1a7a54e34a1e0073f72b3298496bdc Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Fri, 23 Jun 2017 12:29:59 +0200 Subject: [PATCH] FairMQLogger: undefine DEBUG if it has been previously defined --- fairmq/logger/logger.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fairmq/logger/logger.h b/fairmq/logger/logger.h index 2b1207ab..7d242d23 100644 --- a/fairmq/logger/logger.h +++ b/fairmq/logger/logger.h @@ -17,6 +17,11 @@ #define BOOST_LOG_DYN_LINK 1 // necessary when linking the boost_log library dynamically #define FUSION_MAX_VECTOR_SIZE 20 +#ifdef DEBUG +#undef DEBUG +#warning "The symbol 'DEBUG' is used in FairMQLogger. undefining..." +#endif + // std #include #include