pub type mode_t = u16;
pub type ssize_t = i32;
}
- #[cfg(target_arch = "x86")]
+ #[cfg(any(target_arch = "x86",
+ target_arch = "powerpc"))]
pub mod posix01 {
use types::os::arch::c95::{c_short, c_long, time_t};
use types::os::arch::posix88::{dev_t, gid_t, ino_t};
}
}
#[cfg(any(target_arch = "mips",
- target_arch = "mipsel",
- target_arch = "powerpc"))]
+ target_arch = "mipsel"))]
pub mod posix01 {
use types::os::arch::c95::{c_long, c_ulong, time_t};
use types::os::arch::posix88::{gid_t, ino_t};
#[cfg(any(target_arch = "x86",
target_arch = "x86_64",
target_arch = "arm",
- target_arch = "aarch64"))]
+ target_arch = "aarch64",
+ target_arch = "powerpc"))]
pub mod posix88 {
use types::os::arch::c95::c_int;
use types::common::c95::c_void;
}
#[cfg(any(target_arch = "mips",
- target_arch = "mipsel",
- target_arch = "powerpc"))]
+ target_arch = "mipsel"))]
pub mod posix88 {
use types::os::arch::c95::c_int;
use types::common::c95::c_void;
#[cfg(any(target_arch = "arm",
target_arch = "aarch64",
target_arch = "x86",
- target_arch = "x86_64"))]
+ target_arch = "x86_64",
+ target_arch = "powerpc"))]
pub mod bsd44 {
use types::os::arch::c95::c_int;
pub const SHUT_RDWR: c_int = 2;
}
#[cfg(any(target_arch = "mips",
- target_arch = "mipsel",
- target_arch = "powerpc"))]
+ target_arch = "mipsel"))]
pub mod bsd44 {
use types::os::arch::c95::c_int;
#[cfg(any(target_arch = "x86",
target_arch = "x86_64",
target_arch = "arm",
- target_arch = "aarch64"))]
+ target_arch = "aarch64",
+ target_arch = "powerpc"))]
pub mod extra {
use types::os::arch::c95::c_int;
pub const MAP_STACK : c_int = 0x020000;
}
#[cfg(any(target_arch = "mips",
- target_arch = "mipsel",
- target_arch = "powerpc"))]
+ target_arch = "mipsel"))]
pub mod extra {
use types::os::arch::c95::c_int;