You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: signal-hook-registry/src/lib.rs
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -177,16 +177,16 @@ impl Slot {
177
177
//
178
178
// See #169.
179
179
180
-
new.sa_sigaction = handler asusize;// If it doesn't compile on AIX, upgrade the libc dependency
180
+
new.sa_sigaction = handler as*const()asusize;// If it doesn't compile on AIX, upgrade the libc dependency
181
181
182
-
// Android is broken and uses different int types than the rest (and different depending on
183
-
// the pointer width). This converts the flags to the proper type no matter what it is on
184
-
// the given platform.
185
182
#[cfg(target_os = "nto")]
186
183
let flags = 0;
187
-
// SA_RESTART is supported by qnx https://www.qnx.com/support/knowledgebase.html?id=50130000000SmiD
184
+
// SA_RESTART is not supported by qnx https://www.qnx.com/support/knowledgebase.html?id=50130000000SmiD
188
185
#[cfg(not(target_os = "nto"))]
189
186
let flags = libc::SA_RESTART;
187
+
// Android is broken and uses different int types than the rest (and different depending on
188
+
// the pointer width). This converts the flags to the proper type no matter what it is on
0 commit comments