Skip to content

Commit

Permalink
Auto merge of #1537 - nielx:fix/stat-constants, r=gnzlbg
Browse files Browse the repository at this point in the history
Haiku: Fix constants for S_IFIFO and S_IFCHR
  • Loading branch information
bors committed Oct 10, 2019
2 parents 7818f12 + abddbd3 commit 3a1b3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ pub const O_NOFOLLOW: ::c_int = 0x00080000;
pub const O_NOCACHE: ::c_int = 0x00100000;
pub const O_DIRECTORY: ::c_int = 0x00200000;

pub const S_IFIFO: ::mode_t = 61440;
pub const S_IFCHR: ::mode_t = 49152;
pub const S_IFIFO: ::mode_t = 4096;
pub const S_IFCHR: ::mode_t = 8192;
pub const S_IFBLK: ::mode_t = 24576;
pub const S_IFDIR: ::mode_t = 16384;
pub const S_IFREG: ::mode_t = 32768;
Expand Down

0 comments on commit 3a1b3a7

Please sign in to comment.