X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=bertos%2Fcfg%2Flog.h;fp=bertos%2Fcfg%2Flog.h;h=ae5e6e9d36bb50a4b304980c34917f2b2cae6bd5;hp=05cd5f15588c0e6ff91568b17e6ca94fbf98453e;hb=92d0de91b210748b19bd4bdaac1cc16e74369b78;hpb=4278d44ef7681c56f4bd16615c3c4d9338112df4 diff --git a/bertos/cfg/log.h b/bertos/cfg/log.h index 05cd5f15..ae5e6e9d 100644 --- a/bertos/cfg/log.h +++ b/bertos/cfg/log.h @@ -152,7 +152,7 @@ #define CONFIG_SYSLOG_NET 0 #endif -#if (CONFIG_SYSLOG_NET && !ARCH_NIGHTTEST) +#if (CONFIG_SYSLOG_NET && (!defined(ARCH_NIGHTTEST) || !(ARCH & ARCH_NIGHTTEST))) #include #if LOG_FORMAT == LOG_FMT_VERBOSE