File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use cfg_if::cfg_if;
44#[ cfg( any(
55 target_os = "android" ,
66 target_os = "fuchsia" ,
7+ target_os = "cygwin" ,
78 target_env = "musl" ,
89 target_env = "ohos"
910) ) ]
@@ -12,12 +13,14 @@ pub type ioctl_num_type = ::libc::c_int;
1213#[ cfg( not( any(
1314 target_os = "android" ,
1415 target_os = "fuchsia" ,
16+ target_os = "cygwin" ,
1517 target_env = "musl" ,
1618 target_env = "ohos"
1719) ) ) ]
1820#[ doc( hidden) ]
1921pub type ioctl_num_type = :: libc:: c_ulong ;
2022/// The datatype used for the 3rd argument
23+ #[ cfg( not( target_os = "cygwin" ) ) ]
2124#[ doc( hidden) ]
2225pub type ioctl_param_type = :: libc:: c_ulong ;
2326
Original file line number Diff line number Diff line change 227227//! ```
228228use cfg_if:: cfg_if;
229229
230- #[ cfg( any( linux_android, target_os = "fuchsia" , target_os = "redox" ) ) ]
230+ #[ cfg( any(
231+ linux_android,
232+ target_os = "fuchsia" ,
233+ target_os = "redox" ,
234+ target_os = "cygwin"
235+ ) ) ]
231236#[ macro_use]
232237mod linux;
233238
234- #[ cfg( any( linux_android, target_os = "fuchsia" , target_os = "redox" ) ) ]
239+ #[ cfg( any(
240+ linux_android,
241+ target_os = "fuchsia" ,
242+ target_os = "redox" ,
243+ target_os = "cygwin"
244+ ) ) ]
235245pub use self :: linux:: * ;
236246
237247#[ cfg( any( bsd, solarish, target_os = "haiku" , ) ) ]
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ feature! {
4040 solarish,
4141 target_os = "fuchsia" ,
4242 target_os = "redox" ,
43+ target_os = "cygwin" ,
4344) ) ]
4445#[ cfg( feature = "ioctl" ) ]
4546#[ cfg_attr( docsrs, doc( cfg( feature = "ioctl" ) ) ) ]
You can’t perform that action at this time.
0 commit comments