1 #[cfg(all(feature = "alloc", not(any(target_os = "espidf", target_os = "redox"))))] 2 pub(crate) mod dir; 3 #[cfg(linux_kernel)] 4 pub mod inotify; 5 #[cfg(not(any( 6 target_os = "espidf", 7 target_os = "haiku", 8 target_os = "redox", 9 target_os = "vita", 10 target_os = "wasi" 11 )))] 12 pub(crate) mod makedev; 13 #[cfg(not(windows))] 14 pub(crate) mod syscalls; 15 pub(crate) mod types; 16 17 // TODO: Fix linux-raw-sys to define ioctl codes for sparc. 18 #[cfg(all(feature = "linux-raw-sys", any(target_arch = "sparc", target_arch = "sparc64")))] 19 pub(crate) const EXT4_IOC_RESIZE_FS: crate::ioctl::RawOpcode = 0x8008_6610; 20 21 #[cfg(all(feature = "linux-raw-sys", not(any(target_arch = "sparc", target_arch = "sparc64"))))] 22 pub(crate) const EXT4_IOC_RESIZE_FS: crate::ioctl::RawOpcode = 23 linux_raw_sys::ioctl::EXT4_IOC_RESIZE_FS as crate::ioctl::RawOpcode; 24