diff options
| author | Niels Sascha Reedijk <niels.reedijk@gmail.com> | 2018-05-09 17:31:41 +0000 |
|---|---|---|
| committer | Niels Sascha Reedijk <niels.reedijk@gmail.com> | 2018-06-24 17:00:20 +0200 |
| commit | ecf4fe0b6f2e3aefdf3926d1196075c8394585b1 (patch) | |
| tree | 1c0de0353c8a7efc0e147ffd0ae877dd196fba7f /src/bootstrap | |
| parent | 990b3c8d9d44318f174b8112cc6e377d28625967 (diff) | |
| download | rust-ecf4fe0b6f2e3aefdf3926d1196075c8394585b1.tar.gz rust-ecf4fe0b6f2e3aefdf3926d1196075c8394585b1.zip | |
Haiku: there is no setpriority on this platform.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index ae37d67e5d7..ea974111a0f 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -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) { } |
