diff --git a/src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs b/src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs new file mode 100644 index 0000000000000000000000000000000000000000..9b0b338b91e5b52050c6d0edab5b3d5ea0263037 --- /dev/null +++ b/src/unix/bsd/netbsdlike/netbsd/other/b32/mod.rs @@ -0,0 +1,2 @@ +pub type c_long = i32; +pub type c_ulong = u32; diff --git a/src/unix/bsd/netbsdlike/netbsd/other/mod.rs b/src/unix/bsd/netbsdlike/netbsd/other/mod.rs index fffa07f291aa308bfc2341777fcd2c5c571897c5..f4e7cc406125bdf6e2d18e5a10bf2c8fce410127 100644 --- a/src/unix/bsd/netbsdlike/netbsd/other/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/other/mod.rs @@ -2,6 +2,11 @@ cfg_if! { if #[cfg(target_arch = "x86_64")] { mod b64; pub use self::b64::*; + } else if #[cfg(any(target_arch = "arm", + target_arch = "powerpc", + target_arch = "x86"))] { + mod b32; + pub use self::b32::*; } else { // Unknown target_arch }