Rename sunos -> solaris

This commit is contained in:
Nikita Baksalyar 2016-01-28 10:30:54 +03:00
parent 91ff43c736
commit 702814f058
No known key found for this signature in database
GPG Key ID: 3EEA378A0EA758DA
2 changed files with 4 additions and 3 deletions

View File

@ -693,9 +693,9 @@ cfg_if! {
target_os = "bitrig"))] {
mod bsd;
pub use self::bsd::*;
} else if #[cfg(target_os = "sunos")] {
mod sunos;
pub use self::sunos::*;
} else if #[cfg(target_os = "solaris")] {
mod solaris;
pub use self::solaris::*;
} else {
// ...
}

View File

@ -322,6 +322,7 @@ pub const O_EXCL: ::c_int = 1024;
pub const O_NOCTTY: ::c_int = 2048;
pub const O_TRUNC: ::c_int = 512;
pub const O_CLOEXEC: ::c_int = 0x800000;
pub const O_ACCMODE: ::c_int = 0x600003;
pub const S_IFIFO: mode_t = 4096;
pub const S_IFCHR: mode_t = 8192;
pub const S_IFBLK: mode_t = 24576;