utils: fix macro
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@
|
||||
#define dout d_debug && std::cout
|
||||
|
||||
#if defined(HAVE_LOG4CPP) && defined(ENABLE_GR_LOG) && defined(GR_IEEE80211_LOG4CPP)
|
||||
#define mylog(msg) do { if(d_log) { GR_LOG_INFO(d_logger, msg) }} while(0);
|
||||
#define mylog(msg) do { if(d_log) { GR_LOG_INFO(d_logger, msg); }} while(0);
|
||||
#else
|
||||
#define mylog(msg) do { d_log && std::cout << msg << std::endl; } while(0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user