* Fixes #12187 * Point to fork of compactdict Since the original repo is now archived / read-only
This commit is contained in:
parent
edb24b7ce0
commit
00c31e8766
11 changed files with 44 additions and 21 deletions
|
|
@ -79,7 +79,7 @@ proc countProcessors*(): int {.rtl, extern: "ncpi$1".} =
|
|||
len: csize
|
||||
mib[0] = CTL_HW
|
||||
mib[1] = HW_AVAILCPU
|
||||
len = sizeof(numCPU)
|
||||
len = csize sizeof(numCPU)
|
||||
discard sysctl(addr(mib), 2, addr(numCPU), len, nil, 0)
|
||||
if numCPU < 1:
|
||||
mib[1] = HW_NCPU
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue