Skip to content

Commit f6e0a37

Browse files
committed
Add IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO constants to Android
1 parent 2dc7cfe commit f6e0a37

File tree

1 file changed

+4
-0
lines changed
  • src/unix/linux_like/android

1 file changed

+4
-0
lines changed

src/unix/linux_like/android/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,10 @@ pub const F_TEST: ::c_int = 3;
992992
pub const F_TLOCK: ::c_int = 2;
993993
pub const F_ULOCK: ::c_int = 0;
994994

995+
pub const IFF_LOWER_UP: ::c_int = 0x10000;
996+
pub const IFF_DORMANT: ::c_int = 0x20000;
997+
pub const IFF_ECHO: ::c_int = 0x40000;
998+
995999
pub const PTHREAD_MUTEX_NORMAL: ::c_int = 0;
9961000
pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 1;
9971001
pub const PTHREAD_MUTEX_ERRORCHECK: ::c_int = 2;

0 commit comments

Comments
 (0)