Skip to content

Commit

Permalink
Auto merge of rust-lang#556 - archaelus:apple_add_fion, r=alexcrichton
Browse files Browse the repository at this point in the history
Add FIONREAD for apple/b64

Adds the FIONREAD constant for macos/x86_64 machines.
  • Loading branch information
bors committed Mar 25, 2017
2 parents 4e31314 + 913da6c commit 8c11f71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/apple/b64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ pub const __PTHREAD_RWLOCK_SIZE__: usize = 192;

pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;

pub const FIONREAD: ::c_ulong = 0x4004667f;

0 comments on commit 8c11f71

Please sign in to comment.