diff options
Diffstat (limited to 'third_party/rust/mach/src/boolean.rs')
-rw-r--r-- | third_party/rust/mach/src/boolean.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/mach/src/boolean.rs b/third_party/rust/mach/src/boolean.rs new file mode 100644 index 0000000000..cedffa1220 --- /dev/null +++ b/third_party/rust/mach/src/boolean.rs @@ -0,0 +1,7 @@ +//! This module corresponds to `mach/i386/boolean.h`. + +#[cfg(target_arch = "x86_64")] +pub type boolean_t = ::libc::c_uint; + +#[cfg(not(target_arch = "x86_64"))] +pub type boolean_t = ::libc::c_int; |