File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,14 +179,14 @@ impl Slot {
179179
180180 new. sa_sigaction = handler as usize ; // If it doesn't compile on AIX, upgrade the libc dependency
181181
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.
185182 #[ cfg( target_os = "nto" ) ]
186183 let flags = 0 ;
187184 // SA_RESTART is supported by qnx https://www.qnx.com/support/knowledgebase.html?id=50130000000SmiD
188185 #[ cfg( not( target_os = "nto" ) ) ]
189186 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
189+ // the given platform.
190190 #[ allow( unused_assignments) ]
191191 let mut siginfo = flags;
192192 siginfo = libc:: SA_SIGINFO as _ ;
You can’t perform that action at this time.
0 commit comments