We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b351c2 + 46cee95 commit 3774e10Copy full SHA for 3774e10
src/lib.rs
@@ -113,7 +113,7 @@ cfg_if! {
113
114
mod switch;
115
pub use switch::*;
116
- } else if #[cfg(unix)] {
+ } else if #[cfg(any(unix, target_os="redox"))] {
117
mod fixed_width_ints;
118
pub use fixed_width_ints::*;
119
src/unix/redox/mod.rs
@@ -36,6 +36,13 @@ pub type suseconds_t = ::c_int;
36
pub type tcflag_t = u32;
37
pub type time_t = ::c_long;
38
39
+#[cfg_attr(feature = "extra_traits", derive(Debug))]
40
+pub enum timezone {}
41
+impl ::Copy for timezone {}
42
+impl ::Clone for timezone {
43
+ fn clone(&self) -> timezone { *self }
44
+}
45
+
46
s! {
47
pub struct addrinfo {
48
pub ai_flags: ::c_int,
0 commit comments