12 lines
277 B
Diff
12 lines
277 B
Diff
|
--- a/runtime/ops/signal.rs
|
||
|
+++ b/runtime/ops/signal.rs
|
||
|
@@ -97,7 +97,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-#[cfg(target_os = "linux")]
|
||
|
+#[cfg(any(target_os = "linux", target_os = "android"))]
|
||
|
pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
|
||
|
match s {
|
||
|
"SIGHUP" => Ok(1),
|