]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib/compiler.h: Always define CPP_NOTICE 2687/head
authorChristian Franke <chris@opensourcerouting.org>
Thu, 19 Jul 2018 14:09:17 +0000 (10:09 -0400)
committerChristian Franke <chris@opensourcerouting.org>
Thu, 19 Jul 2018 14:10:13 +0000 (10:10 -0400)
On old compilers CPP_NOTICE should be a macro evaluating to an empty
statement, instead of being undefined.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
lib/compiler.h

index 773a52e742eb20bb1adb93b31116f541c6b7e430..b19c33f65e6b3de860ae46f58e791429c67b4c65 100644 (file)
@@ -76,6 +76,7 @@
 
 #else
 #define CPP_WARN(text)
+#define CPP_NOTICE(text)
 #endif
 
 #endif /* _FRR_COMPILER_H */