File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,9 @@ mod signal {
232
232
pub static SA_SIGINFO : libc:: c_int = 0x0040 ;
233
233
pub static SIGCHLD : libc:: c_int = 20 ;
234
234
235
- #[ cfg( target_os = "macos" ) ]
236
- #[ cfg( target_os = "ios" ) ]
235
+ #[ cfg( any( target_os = "macos" , target_os = "ios" ) ) ]
237
236
pub type sigset_t = u32 ;
238
- #[ cfg( target_os = "freebsd" ) ]
239
- #[ cfg( target_os = "dragonfly" ) ]
237
+ #[ cfg( any( target_os = "freebsd" , target_os = "dragonfly" ) ) ]
240
238
#[ repr( C ) ]
241
239
pub struct sigset_t {
242
240
bits : [ u32 , ..4 ] ,
@@ -254,8 +252,7 @@ mod signal {
254
252
pub status : libc:: c_int ,
255
253
}
256
254
257
- #[ cfg( target_os = "macos" ) ]
258
- #[ cfg( target_os = "ios" ) ]
255
+ #[ cfg( any( target_os = "macos" , target_os = "ios" ) ) ]
259
256
#[ repr( C ) ]
260
257
pub struct sigaction {
261
258
pub sa_handler : extern fn ( libc:: c_int ) ,
@@ -264,8 +261,7 @@ mod signal {
264
261
pub sa_flags : libc:: c_int ,
265
262
}
266
263
267
- #[ cfg( target_os = "freebsd" ) ]
268
- #[ cfg( target_os = "dragonfly" ) ]
264
+ #[ cfg( any( target_os = "freebsd" , target_os = "dragonfly" ) ) ]
269
265
#[ repr( C ) ]
270
266
pub struct sigaction {
271
267
pub sa_handler : extern fn ( libc:: c_int ) ,
You can’t perform that action at this time.
0 commit comments