summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/freebsd
diff options
context:
space:
mode:
authorMikaelUrankar <mikael.urankar@gmail.com>2019-01-22 17:02:36 +0100
committerMikaelUrankar <mikael.urankar@gmail.com>2019-02-02 19:38:46 +0100
commit69c9c541f76cb29fd2de9a4866093d0046c8bbf7 (patch)
tree792d5fd3c6645822c2997ec8df6caa80d62db855 /src/unix/bsd/freebsdlike/freebsd
parent6c1e2dec8f2b49adecb617a61821a155e3799bea (diff)
downloadrust-libc-69c9c541f76cb29fd2de9a4866093d0046c8bbf7.tar.gz
char is unsigned on FreeBSD aarch64 and powerpc64
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/aarch64.rs1
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/powerpc64.rs1
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/x86.rs1
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/x86_64.rs1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/aarch64.rs b/src/unix/bsd/freebsdlike/freebsd/aarch64.rs
index d33b475234..a780b08745 100644
--- a/src/unix/bsd/freebsdlike/freebsd/aarch64.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/aarch64.rs
@@ -1,5 +1,6 @@
use dox::mem;
+pub type c_char = u8;
pub type c_long = i64;
pub type c_ulong = u64;
pub type time_t = i64;
diff --git a/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs b/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs
index 98f70dac28..c06e1aec82 100644
--- a/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs
@@ -1,3 +1,4 @@
+pub type c_char = u8;
pub type c_long = i64;
pub type c_ulong = u64;
pub type time_t = i64;
diff --git a/src/unix/bsd/freebsdlike/freebsd/x86.rs b/src/unix/bsd/freebsdlike/freebsd/x86.rs
index a5495aaaa1..2eaeec7660 100644
--- a/src/unix/bsd/freebsdlike/freebsd/x86.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/x86.rs
@@ -1,5 +1,6 @@
use dox::mem;
+pub type c_char = i8;
pub type c_long = i32;
pub type c_ulong = u32;
pub type time_t = i32;
diff --git a/src/unix/bsd/freebsdlike/freebsd/x86_64.rs b/src/unix/bsd/freebsdlike/freebsd/x86_64.rs
index 711feb7222..e9dcf784e4 100644
--- a/src/unix/bsd/freebsdlike/freebsd/x86_64.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/x86_64.rs
@@ -1,5 +1,6 @@
use dox::mem;
+pub type c_char = i8;
pub type c_long = i64;
pub type c_ulong = u64;
pub type time_t = i64;