Skip to content

Commit ecf4fe0

Browse files
committed
Haiku: there is no setpriority on this platform.
1 parent 990b3c8 commit ecf4fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ mod toolstate;
177177
#[cfg(windows)]
178178
mod job;
179179

180-
#[cfg(unix)]
180+
#[cfg(all(unix, not(target_os = "haiku")))]
181181
mod job {
182182
use libc;
183183

@@ -188,7 +188,7 @@ mod job {
188188
}
189189
}
190190

191-
#[cfg(not(any(unix, windows)))]
191+
#[cfg(any(target_os = "haiku", not(any(unix, windows))))]
192192
mod job {
193193
pub unsafe fn setup(_build: &mut ::Build) {
194194
}

0 commit comments

Comments
 (0)