diff options
author | bors <bors@rust-lang.org> | 2017-06-15 14:29:34 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2017-06-15 14:29:34 +0000 |
commit | edbc1f14e7838ea57cec6911484519b5dba76daa (patch) | |
tree | 679ab28b72b3d2cb56e3ef05eb7c0a851e14f78a | |
parent | ce955e98c3709e04e76357af43b4765a2767d279 (diff) | |
parent | 519c5ea963f858180bc3ee00f36a5e45e34aa436 (diff) | |
download | rust-libc-edbc1f14e7838ea57cec6911484519b5dba76daa.tar.gz |
Auto merge of #619 - gdf8gdn8:fixed-missing-epolloneshot-android, r=alexcrichton
Fixed missing EPOLLONESHOT for android
resolve #548
-rw-r--r-- | src/unix/notbsd/android/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs index 547d8327db..2a7d572dc5 100644 --- a/src/unix/notbsd/android/mod.rs +++ b/src/unix/notbsd/android/mod.rs @@ -172,6 +172,7 @@ pub const SA_RESTART: ::c_int = 0x10000000; pub const SA_NOCLDSTOP: ::c_int = 0x00000001; pub const EPOLL_CLOEXEC: ::c_int = 0x80000; +pub const EPOLLONESHOT: ::c_int = 0x40000000; pub const EFD_CLOEXEC: ::c_int = 0x80000; |