Skip to content

Commit

Permalink
Rename sunos -> solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaksalyar committed Jan 29, 2016
1 parent 91ff43c commit 702814f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
// ...
}
Expand Down
1 change: 1 addition & 0 deletions src/unix/sunos/mod.rs → src/unix/solaris/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 702814f

Please sign in to comment.