diff options
| author | pez <james.austin.perry@gmail.com> | 2015-04-13 15:17:45 +0100 |
|---|---|---|
| committer | pez <james.austin.perry@gmail.com> | 2015-04-13 15:17:45 +0100 |
| commit | 883bb6568d2b5659de197cea612656f757fc22af (patch) | |
| tree | 0b16c95dc819d80525cb1efd7fa323157160f2d0 /src/liblibc/lib.rs | |
| parent | 6f54ce9aa5d2baf0cd82c01e2c181ab17439b7d7 (diff) | |
| download | rust-883bb6568d2b5659de197cea612656f757fc22af.tar.gz rust-883bb6568d2b5659de197cea612656f757fc22af.zip | |
remove duplicated linux sysconf mod
Diffstat (limited to 'src/liblibc/lib.rs')
| -rw-r--r-- | src/liblibc/lib.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 310b7439613..ba3a6831d8c 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -3729,12 +3729,14 @@ pub mod consts { pub const _SC_2_FORT_RUN : c_int = 50; pub const _SC_2_SW_DEV : c_int = 51; pub const _SC_2_LOCALEDEF : c_int = 52; + pub const _SC_NPROCESSORS_ONLN : c_int = 84; pub const _SC_2_CHAR_TERM : c_int = 95; pub const _SC_2_C_VERSION : c_int = 96; pub const _SC_2_UPE : c_int = 97; pub const _SC_XBS5_ILP32_OFF32 : c_int = 125; pub const _SC_XBS5_ILP32_OFFBIG : c_int = 126; pub const _SC_XBS5_LPBIG_OFFBIG : c_int = 128; + } #[cfg(target_os = "nacl")] pub mod sysconf { @@ -3745,12 +3747,6 @@ pub mod consts { pub static _SC_PAGESIZE : c_int = 2; } - #[cfg(target_os = "linux")] - pub mod sysconf { - use types::os::arch::c95::c_int; - pub static _SC_NPROCESSORS_ONLN : c_int = 84; - } - #[cfg(target_os = "macos")] pub mod sysconf { use types::os::arch::c95::c_int; |
