Skip to content

Commit 841a4df

Browse files
committed
Add back HW_NCPU
Removed by accident in #285
1 parent 4a397ab commit 841a4df

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)