]> git.proxmox.com Git - cargo.git/blobdiff - vendor/libc/src/unix/bsd/netbsdlike/netbsd/x86.rs
New upstream version 0.33.0
[cargo.git] / vendor / libc / src / unix / bsd / netbsdlike / netbsd / x86.rs
index 8bd105841d53b9d6d529cc1885ac133304a1b158..4da99685f93da159129c5b334a5755924c08b12f 100644 (file)
@@ -1,4 +1,10 @@
+use dox::mem;
+
 pub type c_long = i32;
 pub type c_ulong = u32;
 pub type c_char = i8;
 pub type __cpu_simple_lock_nv_t = ::c_uchar;
+
+// should be pub(crate), but that requires Rust 1.18.0
+#[doc(hidden)]
+pub const _ALIGNBYTES: usize = mem::size_of::<::c_int>() - 1;