summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2022-12-02 07:35:14 -0700
committerJeremy Soller <jackpot51@gmail.com>2022-12-02 07:35:14 -0700
commit73a70cb4933692a1b005e6291f33b89d73a03e29 (patch)
tree69f80e8dbda494f168a7dd7d6ead3b70f4edb628 /src
parentdb3423be55b86c511d1fe6e6e371549f9802a8b6 (diff)
downloadrust-libc-73a70cb4933692a1b005e6291f33b89d73a03e29.tar.gz
redox: make off_t and time_t long long
Diffstat (limited to 'src')
-rw-r--r--src/unix/redox/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs
index 6855171990..afba677277 100644
--- a/src/unix/redox/mod.rs
+++ b/src/unix/redox/mod.rs
@@ -26,7 +26,7 @@ pub type ino_t = ::c_ulong;
pub type mode_t = ::c_int;
pub type nfds_t = ::c_ulong;
pub type nlink_t = ::c_ulong;
-pub type off_t = ::c_long;
+pub type off_t = ::c_longlong;
pub type pthread_t = *mut ::c_void;
pub type pthread_attr_t = *mut ::c_void;
pub type pthread_cond_t = *mut ::c_void;
@@ -46,7 +46,7 @@ pub type socklen_t = u32;
pub type speed_t = u32;
pub type suseconds_t = ::c_int;
pub type tcflag_t = u32;
-pub type time_t = ::c_long;
+pub type time_t = ::c_longlong;
#[cfg_attr(feature = "extra_traits", derive(Debug))]
pub enum timezone {}