Haiku: there is no setpriority on this platform.
This commit is contained in:
parent
990b3c8d9d
commit
ecf4fe0b6f
1 changed files with 2 additions and 2 deletions
|
|
@ -177,7 +177,7 @@ mod toolstate;
|
|||
#[cfg(windows)]
|
||||
mod job;
|
||||
|
||||
#[cfg(unix)]
|
||||
#[cfg(all(unix, not(target_os = "haiku")))]
|
||||
mod job {
|
||||
use libc;
|
||||
|
||||
|
|
@ -188,7 +188,7 @@ mod job {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(not(any(unix, windows)))]
|
||||
#[cfg(any(target_os = "haiku", not(any(unix, windows))))]
|
||||
mod job {
|
||||
pub unsafe fn setup(_build: &mut ::Build) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue