Auto merge of #291 - alexcrichton:readd-hw-ncpu, r=alexcrichton

Add back HW_NCPU

Removed by accident in #285
This commit is contained in:
bors 2016-05-16 10:25:04 -07:00
commit b19b5465a1
1 changed files with 2 additions and 0 deletions

View File

@ -441,6 +441,8 @@ pub const RTLD_GLOBAL: ::c_int = 0x100;
pub const LOG_NFACILITIES: ::c_int = 24;
pub const HW_NCPU: ::c_int = 3;
#[link(name = "util")]
extern {
pub fn mincore(addr: *mut ::c_void, len: ::size_t,