Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
58f37b2
)
vppinfra: Place SIGPWR behind a linux define
67/40267/2
author
Tom Jones
<thj@freebsd.org>
Fri, 26 Jan 2024 15:00:31 +0000
(15:00 +0000)
committer
Damjan Marion
<dmarion@0xa5.net>
Tue, 13 Feb 2024 16:13:19 +0000
(16:13 +0000)
The SIGPWR signal is specific to Linux, place it behind a Linux flag to
help the build on FreeBSD.
Type: improvement
Change-Id: Ie36c2ceb201afff98e92bbe64595c3953b11c457
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vppinfra/unix-formats.c
patch
|
blob
|
history
diff --git
a/src/vppinfra/unix-formats.c
b/src/vppinfra/unix-formats.c
index
2abc752
..
d46b00a
100644
(file)
--- a/
src/vppinfra/unix-formats.c
+++ b/
src/vppinfra/unix-formats.c
@@
-409,7
+409,9
@@
u8 * format_signal (u8 * s, va_list * args)
_ (SIGPROF);
_ (SIGWINCH);
_ (SIGIO);
+#ifdef __linux__
_ (SIGPWR);
+#endif /* __linux */
#ifdef SIGSYS
_ (SIGSYS);
#endif