Skip to content

Commit

Permalink
Auto merge of #2663 - mkpowers:mkpowers/update-android-if-constants, …
Browse files Browse the repository at this point in the history
…r=Amanieu

Add IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO constants to Android
  • Loading branch information
bors committed Jan 31, 2022
2 parents 2dc7cfe + f6e0a37 commit 7a7138d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,10 @@ pub const F_TEST: ::c_int = 3;
pub const F_TLOCK: ::c_int = 2;
pub const F_ULOCK: ::c_int = 0;

pub const IFF_LOWER_UP: ::c_int = 0x10000;
pub const IFF_DORMANT: ::c_int = 0x20000;
pub const IFF_ECHO: ::c_int = 0x40000;

pub const PTHREAD_MUTEX_NORMAL: ::c_int = 0;
pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 1;
pub const PTHREAD_MUTEX_ERRORCHECK: ::c_int = 2;
Expand Down

0 comments on commit 7a7138d

Please sign in to comment.