log4cpp is mandatory for GNU Radio
This commit is contained in:
@@ -29,12 +29,7 @@
|
||||
#define MAX_ENCODED_BITS ((16 + 8 * MAX_PSDU_SIZE + 6) * 2 + 288)
|
||||
|
||||
#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);
|
||||
#else
|
||||
#define mylog(msg) do { d_log && std::cout << msg << std::endl; } while(0);
|
||||
#endif
|
||||
|
||||
struct mac_header {
|
||||
//protocol version, type, subtype, to_ds, from_ds, ...
|
||||
|
||||
Reference in New Issue
Block a user