extern crate libc as real_libc;
#[macro_use]
extern crate bitflags;
#[cfg(target_os = "linux")]
#[path = "platform/linux.rs"]
#[macro_use]
mod platform;
pub use platform::*; // ERROR IF NOT Linux Kernel.
the crate platform will not avabile xnu ( or other bsd like kernel system ).
In Cargo.toml Line 11:
in ioctl lib source code src/lib.rs :
Line 10
the crate
platform
will not avabilexnu
( or other bsd like kernel system ).