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) {
794
794
// This evaluates to a sysconf() call rather than a constant
795
795
"PTHREAD_STACK_MIN" => true ,
796
796
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
+
797
802
_ => false ,
798
803
} ) ;
799
804
Original file line number Diff line number Diff line change @@ -1838,6 +1838,7 @@ pub const EPOLLET: ::c_int = 0x80000000;
1838
1838
pub const EPOLLRDHUP : :: c_int = 0x2000 ;
1839
1839
pub const EPOLLONESHOT : :: c_int = 0x40000000 ;
1840
1840
pub const EPOLLWAKEUP : :: c_int = 0x20000000 ;
1841
+ pub const EPOLLEXCLUSIVE : :: c_int = 0x10000000 ;
1841
1842
pub const EPOLL_CLOEXEC : :: c_int = 0x80000 ;
1842
1843
pub const EPOLL_CTL_ADD : :: c_int = 1 ;
1843
1844
pub const EPOLL_CTL_MOD : :: c_int = 3 ;
Original file line number Diff line number Diff line change 29
29
pub const PORT_SOURCE_POSTWAIT : :: c_int = 8 ;
30
30
pub const PORT_SOURCE_SIGNAL : :: c_int = 9 ;
31
31
32
- pub const EPOLLEXCLUSIVE : :: c_int = 0x10000000 ;
33
-
34
32
pub const AF_LOCAL : :: c_int = 0 ;
35
33
pub const AF_FILE : :: c_int = 0 ;
36
34
You can’t perform that action at this time.
0 commit comments