Haiku: there is no setpriority on this platform.

This commit is contained in:
Niels Sascha Reedijk 2018-05-09 17:31:41 +00:00
parent 990b3c8d9d
commit ecf4fe0b6f

View file

@ -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) {
}