vere: skip SIGINFO on linux (unavailable)

This commit is contained in:
Joe Bryan 2020-06-25 11:58:25 -07:00
parent 6e9f8ec34b
commit 48add92ca5

View File

@ -556,6 +556,7 @@ _king_sign_init(void)
// handle SIGINFO (if available) // handle SIGINFO (if available)
// //
#ifndef U3_OS_linux
{ {
u3_usig* sig_u; u3_usig* sig_u;
@ -566,6 +567,7 @@ _king_sign_init(void)
sig_u->nex_u = u3_Host.sig_u; sig_u->nex_u = u3_Host.sig_u;
u3_Host.sig_u = sig_u; u3_Host.sig_u = sig_u;
} }
#endif
// handle SIGUSR1 (fallback for SIGINFO) // handle SIGUSR1 (fallback for SIGINFO)
// //
@ -608,8 +610,12 @@ _king_sign_cb(uv_signal_t* sil_u, c3_i num_i)
break; break;
} }
case SIGUSR1: // fallthru if defined
case SIGINFO: { //
#ifndef U3_OS_linux
case SIGINFO:
#endif
case SIGUSR1: {
u3_king_info(); u3_king_info();
break; break;
} }