Skip to content

Commit b19b546

Browse files
committed
Auto merge of #291 - alexcrichton:readd-hw-ncpu, r=alexcrichton
Add back HW_NCPU Removed by accident in #285
2 parents 4a397ab + 841a4df commit b19b546

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/openbsdlike

1 file changed

+2
-0
lines changed

src/unix/bsd/openbsdlike/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ pub const RTLD_GLOBAL: ::c_int = 0x100;
441441

442442
pub const LOG_NFACILITIES: ::c_int = 24;
443443

444+
pub const HW_NCPU: ::c_int = 3;
445+
444446
#[link(name = "util")]
445447
extern {
446448
pub fn mincore(addr: *mut ::c_void, len: ::size_t,

0 commit comments

Comments
 (0)