Auto merge of #26567 - Techern:os-dupe-code, r=alexcrichton

It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
This commit is contained in:
bors 2015-06-25 20:22:27 +00:00
commit 912ab64a0d

View File

@ -41,9 +41,7 @@ mod imp {
const NR_GETRANDOM: libc::c_long = 318;
#[cfg(target_arch = "x86")]
const NR_GETRANDOM: libc::c_long = 355;
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
const NR_GETRANDOM: libc::c_long = 384;
#[cfg(target_arch = "powerpc")]
#[cfg(any(target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc"))]
const NR_GETRANDOM: libc::c_long = 384;
unsafe {