diff options
author | Mackenzie Powers <mackenzie@junelife.com> | 2022-01-31 09:29:32 -0800 |
---|---|---|
committer | Mackenzie Powers <mackenzie@junelife.com> | 2022-01-31 09:29:32 -0800 |
commit | f6e0a37551660d7f5d7c2d53587f0262fe5a6bae (patch) | |
tree | 7e5c2a30495dede1a6e8e2abb2925e692d54fb1c | |
parent | 2dc7cfe3f5e0f8b8fa92e73cde7f06c85a754de4 (diff) | |
download | rust-libc-f6e0a37551660d7f5d7c2d53587f0262fe5a6bae.tar.gz |
Add IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO constants to Android
-rw-r--r-- | src/unix/linux_like/android/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/linux_like/android/mod.rs b/src/unix/linux_like/android/mod.rs index 114c2f6996..e039854851 100644 --- a/src/unix/linux_like/android/mod.rs +++ b/src/unix/linux_like/android/mod.rs @@ -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; |