Test at compile time whether siginfo_t is usable for --remote (#119).

This commit is contained in:
Andrew Wood
2024-12-01 15:26:59 +00:00
parent 99fe01a0d6
commit 106a673ba8
7 changed files with 51 additions and 11 deletions
+2 -2
View File
@@ -399,11 +399,11 @@ void display_help(void)
{ "-U", "--store-and-forward", N_("FILE"),
N_("write all input to FILE before writing to output"),
{ 0, 0, 0, 0} },
#ifdef SA_SIGINFO
#ifdef SIGINFO_PROVIDES_PID
{ "-R", "--remote", N_("PID"),
N_("update settings of process PID"),
{ 0, 0, 0, 0} },
#endif /* SA_SIGINFO */
#endif /* SIGINFO_PROVIDES_PID */
{ "", NULL, NULL, NULL, { 0, 0, 0, 0} },
{ "-P", "--pidfile", N_("FILE"),
N_("save process ID in FILE"),