Skip to content

Commit

Permalink
Fix arm compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Mar 13, 2024
1 parent b6313c6 commit 306342e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpm/src/cb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ extern "C" {
fn vasprintf(str: *const *mut c_char, fmt: *const c_char, args: VaList) -> c_int;
}

#[cfg(not(any(target_arch = "aarch64", target_arch = "aarch64")))]
#[cfg(not(any(target_arch = "arm", target_arch = "aarch64")))]
pub type VaList = *mut __va_list_tag;
#[cfg(any(target_arch = "aarch64", target_arch = "aarch64"))]
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
pub type VaList = va_list;

type Cb<T> = UnsafeCell<Option<Box<T>>>;
Expand Down

0 comments on commit 306342e

Please sign in to comment.