Skip to content

Commit

Permalink
x86 conditional compiling (#3)
Browse files Browse the repository at this point in the history
Conditional compiling for x86
  • Loading branch information
subalterngames authored Aug 28, 2023
1 parent 991e334 commit bcc4d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl EncoderInput for MonoPcm<'_, libc::c_int> {
}
}

#[cfg(unix)]
#[cfg(all(unix, not(target_arch = "x86")))]
//On most unix it should be i64.
//But unclear about other platforms, so it is only implemented there as otherwise it is i32.
impl EncoderInput for MonoPcm<'_, libc::c_long> {
Expand Down

0 comments on commit bcc4d51

Please sign in to comment.