1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

rename $if mac => $if macos , _mac.v => _darwin.v

This commit is contained in:
Delyan Angelov
2020-01-09 12:12:35 +02:00
committed by Alexander Medvednikov
parent 760448afa4
commit 7882312697
6 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ fn nr_cpus_nix() int {
$if linux {
return int(C.sysconf(C._SC_NPROCESSORS_ONLN))
}
$if mac {
$if macos {
return int(C.sysconf(C._SC_NPROCESSORS_ONLN))
}
return 1