diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2018-07-19 10:09:17 -0400 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2018-07-19 10:10:13 -0400 |
| commit | ec40eaf94d0b1db2ddd8354a06782ccec2696a8f (patch) | |
| tree | dfe7c17448d14ddc9e5a0c7b9788660048a53ab0 /lib/compiler.h | |
| parent | d1a85fe40d93d31f7f0daf54912a159fcabfaddc (diff) | |
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 <chris@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
| -rw-r--r-- | lib/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |
