use core::marker::PhantomData;
#[cfg(all(target_os = "linux", target_arch = "aarch64"))]
const JMP_BUF_U64_LEN: usize = 22;
#[cfg(all(target_os = "linux", not(target_arch = "aarch64")))]
const JMP_BUF_U64_LEN: usize = 8;
#[cfg(not(target_os = "linux"))]
const JMP_BUF_U64_LEN: usize = 8;
#[repr(C)]
pub struct JmpBufFields {
_buf: [u64; JMP_BUF_U64_LEN],
_neither_send_nor_sync: PhantomData<*const u8>,
}
#[repr(C)]
pub struct SigJmpBufFields {
__jmp_buf: JmpBufFields,
__mask_was_saved: isize,
__saved_mask: libc::sigset_t,
}
pub type JmpBufStruct = SigJmpBufFields;
pub type SigJmpBufStruct = SigJmpBufFields;