termux-packages/disabled-packages/deno/runtime-ops-signal.rs.patch

12 lines
277 B
Diff
Raw Normal View History

2022-01-15 11:46:40 +01:00
--- 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),