From: Christian Franke Date: Thu, 19 Jul 2018 14:09:17 +0000 (-0400) Subject: lib/compiler.h: Always define CPP_NOTICE X-Git-Tag: frr-6.1-dev~162^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ec40eaf94d0b1db2ddd8354a06782ccec2696a8f;p=mirror%2Ffrr.git lib/compiler.h: Always define CPP_NOTICE On old compilers CPP_NOTICE should be a macro evaluating to an empty statement, instead of being undefined. Signed-off-by: Christian Franke --- diff --git a/lib/compiler.h b/lib/compiler.h index 773a52e742..b19c33f65e 100644 --- a/lib/compiler.h +++ b/lib/compiler.h @@ -76,6 +76,7 @@ #else #define CPP_WARN(text) +#define CPP_NOTICE(text) #endif #endif /* _FRR_COMPILER_H */