File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ fn do_cc() {
42
42
|| target. contains ( "l4re" )
43
43
|| target. contains ( "android" )
44
44
|| target. contains ( "emscripten" )
45
+ || target. contains ( "solaris" )
46
+ || target. contains ( "illumos" )
45
47
{
46
48
cc:: Build :: new ( ) . file ( "src/sigrt.c" ) . compile ( "sigrt" ) ;
47
49
}
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ LIO_WAIT
16
16
LIO_WRITE
17
17
PIPE_BUF
18
18
SIGEV_PORT
19
+ SIGRTMAX
20
+ SIGRTMIN
19
21
_POSIX_VDISABLE
20
22
_ST_FSTYPSZ
21
23
aio_cancel
Original file line number Diff line number Diff line change 4
4
target_os = "linux" ,
5
5
target_os = "l4re" ,
6
6
target_os = "android" ,
7
- target_os = "emscripten"
7
+ target_os = "emscripten" ,
8
+ target_os = "solaris" ,
9
+ target_os = "illumos" ,
8
10
) ) ]
9
11
mod t {
10
12
use libc;
Original file line number Diff line number Diff line change @@ -2542,6 +2542,14 @@ f! {
2542
2542
}
2543
2543
2544
2544
safe_f ! {
2545
+ pub fn SIGRTMAX ( ) -> c_int {
2546
+ unsafe { crate :: sysconf( _SC_SIGRT_MAX) as c_int }
2547
+ }
2548
+
2549
+ pub fn SIGRTMIN ( ) -> c_int {
2550
+ unsafe { crate :: sysconf( _SC_SIGRT_MIN) as c_int }
2551
+ }
2552
+
2545
2553
pub { const } fn WIFEXITED ( status: c_int) -> bool {
2546
2554
( status & 0xFF ) == 0
2547
2555
}
You can’t perform that action at this time.
0 commit comments