mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vinix: support -os vinix (part 2)
This commit is contained in:
parent
05466ce1b6
commit
1bf6743987
@ -310,6 +310,12 @@ pub fn user_os() string {
|
||||
$if haiku {
|
||||
return 'haiku'
|
||||
}
|
||||
$if serenity {
|
||||
return 'serenity'
|
||||
}
|
||||
$if vinix {
|
||||
return 'vinix'
|
||||
}
|
||||
return 'unknown'
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user