commit | b9ca2325e9979c0a41882cffbe63194f9ede53ea | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Sun Sep 13 23:33:57 2015 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Sun Sep 13 23:33:57 2015 -0700 |
tree | 1c0e853d3f8a8b60ee9b5c4604e41fe8cc19613a | |
parent | 5a28433bb11ad4cdd0f7571f32304b5006facad4 [diff] |
Fix arm-linux compile
diff --git a/src/linuxlike/linux.rs b/src/linuxlike/linux.rs index 09e7f7a..025470e 100644 --- a/src/linuxlike/linux.rs +++ b/src/linuxlike/linux.rs
@@ -158,6 +158,7 @@ pub const O_RSYNC: ::c_int = 1052672; pub const O_DSYNC: ::c_int = 4096; +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub const MAP_32BIT: ::c_int = 0x0040; pub const TCP_MD5SIG: ::c_int = 14;