diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-01-20 07:56:33 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 07:56:33 +0530 |
commit | 9bac346d66d20cd7b8abc1e4001cb461bb665a0b (patch) | |
tree | 76747a0775bfe764c7446697eab5935b81b045dd /runtime/ops | |
parent | 1ec07368b40cc69c1c0e45d45cfbae19500e25bf (diff) |
chore: update netif to 0.1.1 (#13425)
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/signal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index 7f897c048..0fa5ba3e4 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -97,7 +97,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> { } } -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "android", target_os = "linux"))] pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> { match s { "SIGHUP" => Ok(1), |