File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -794,6 +794,11 @@ fn test_solarish(target: &str) {
794794 // This evaluates to a sysconf() call rather than a constant
795795 "PTHREAD_STACK_MIN" => true ,
796796
797+ // EPOLLEXCLUSIVE is a relatively recent addition to the epoll interface and may not be
798+ // defined on older systems. It is, however, safe to use on systems which do not
799+ // explicitly support it. (A no-op is an acceptable implementation of EPOLLEXCLUSIVE.)
800+ "EPOLLEXCLUSIVE" => true ,
801+
797802 _ => false ,
798803 } ) ;
799804
Original file line number Diff line number Diff line change @@ -1838,6 +1838,7 @@ pub const EPOLLET: ::c_int = 0x80000000;
18381838pub const EPOLLRDHUP : :: c_int = 0x2000 ;
18391839pub const EPOLLONESHOT : :: c_int = 0x40000000 ;
18401840pub const EPOLLWAKEUP : :: c_int = 0x20000000 ;
1841+ pub const EPOLLEXCLUSIVE : :: c_int = 0x10000000 ;
18411842pub const EPOLL_CLOEXEC : :: c_int = 0x80000 ;
18421843pub const EPOLL_CTL_ADD : :: c_int = 1 ;
18431844pub const EPOLL_CTL_MOD : :: c_int = 3 ;
Original file line number Diff line number Diff line change 2929pub const PORT_SOURCE_POSTWAIT : :: c_int = 8 ;
3030pub const PORT_SOURCE_SIGNAL : :: c_int = 9 ;
3131
32- pub const EPOLLEXCLUSIVE : :: c_int = 0x10000000 ;
33-
3432pub const AF_LOCAL : :: c_int = 0 ;
3533pub const AF_FILE : :: c_int = 0 ;
3634
You can’t perform that action at this time.
0 commit comments