mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core: CPU_Cores sanity check
This commit is contained in:
parent
b277c8ee98
commit
2c799da9e4
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ int CPU_Cores()
|
|||
#else
|
||||
n = 1;
|
||||
#endif
|
||||
n = max(n, 1); // sanity
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue