We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afa5feb + 1389754 commit 5de8bddCopy full SHA for 5de8bdd
signal-hook-registry/src/lib.rs
@@ -165,6 +165,10 @@ impl Slot {
165
// Android is broken and uses different int types than the rest (and different depending on
166
// the pointer width). This converts the flags to the proper type no matter what it is on
167
// the given platform.
168
+ #[cfg(target_os = "nto")]
169
+ let flags = 0;
170
+ // SA_RESTART is supported by qnx https://www.qnx.com/support/knowledgebase.html?id=50130000000SmiD
171
+ #[cfg(not(target_os = "nto"))]
172
let flags = libc::SA_RESTART;
173
#[allow(unused_assignments)]
174
let mut siginfo = flags;
0 commit comments