vinix: support -os vinix (part 2)

pull/10787/head
Delyan Angelov 2021-07-13 11:37:33 +03:00
parent 05466ce1b6
commit 1bf6743987
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 9 additions and 4 deletions

View File

@ -310,6 +310,12 @@ pub fn user_os() string {
$if haiku {
return 'haiku'
}
$if serenity {
return 'serenity'
}
$if vinix {
return 'vinix'
}
return 'unknown'
}

View File

@ -97,10 +97,9 @@ pub fn get_host_os() OS {
$if serenity {
return .serenity
}
// TODO: uncomment the vinix block after v.c is regenerated
// $if vinix {
// return .vinix
// }
$if vinix {
return .vinix
}
$if solaris {
return .solaris
}