Skip to content

Commit 42fe290

Browse files
committed
provide declaration of boolean_t for macOS on aarch64
1 parent a15491e commit 42fe290

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/unix/bsd/apple/b64/aarch64/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub type boolean_t = ::c_int;
2+
13
cfg_if! {
24
if #[cfg(libc_align)] {
35
mod align;

src/unix/bsd/apple/b64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
pub type c_long = i64;
44
pub type c_ulong = u64;
5-
pub type boolean_t = ::c_uint;
65
pub type mcontext_t = *mut __darwin_mcontext64;
76

87
s! {

src/unix/bsd/apple/b64/x86_64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub type boolean_t = ::c_uint;
2+
13
s! {
24
pub struct __darwin_mcontext64 {
35
pub __es: __darwin_x86_exception_state64,

0 commit comments

Comments
 (0)