Skip to content

Commit edbc1f1

Browse files
committed
Auto merge of #619 - gdf8gdn8:fixed-missing-epolloneshot-android, r=alexcrichton
Fixed missing EPOLLONESHOT for android resolve #548
2 parents ce955e9 + 519c5ea commit edbc1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/android/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ pub const SA_RESTART: ::c_int = 0x10000000;
172172
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
173173

174174
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
175+
pub const EPOLLONESHOT: ::c_int = 0x40000000;
175176

176177
pub const EFD_CLOEXEC: ::c_int = 0x80000;
177178

0 commit comments

Comments
 (0)