File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -693,9 +693,9 @@ cfg_if! {
693
693
target_os = "bitrig" ) ) ] {
694
694
mod bsd;
695
695
pub use self :: bsd:: * ;
696
- } else if #[ cfg( target_os = "sunos " ) ] {
697
- mod sunos ;
698
- pub use self :: sunos :: * ;
696
+ } else if #[ cfg( target_os = "solaris " ) ] {
697
+ mod solaris ;
698
+ pub use self :: solaris :: * ;
699
699
} else {
700
700
// ...
701
701
}
Original file line number Diff line number Diff line change @@ -322,6 +322,7 @@ pub const O_EXCL: ::c_int = 1024;
322
322
pub const O_NOCTTY : :: c_int = 2048 ;
323
323
pub const O_TRUNC : :: c_int = 512 ;
324
324
pub const O_CLOEXEC : :: c_int = 0x800000 ;
325
+ pub const O_ACCMODE : :: c_int = 0x600003 ;
325
326
pub const S_IFIFO : mode_t = 4096 ;
326
327
pub const S_IFCHR : mode_t = 8192 ;
327
328
pub const S_IFBLK : mode_t = 24576 ;
You can’t perform that action at this time.
0 commit comments