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

solaris: another fix

This commit is contained in:
Alexander Medvednikov
2019-09-27 00:30:41 +03:00
parent fcf8f7fc93
commit 74bbf592d1
2 changed files with 11 additions and 2 deletions

View File

@@ -542,6 +542,9 @@ pub fn user_os() string {
$if android{
return 'android'
}
$if solaris {
return 'solaris'
}
return 'unknown'
}
@@ -631,8 +634,8 @@ pub fn executable() string {
// lol
return os.args[0]
}
//$if solaris {
//}
$if solaris {
}
$if netbsd {
mut result := malloc(MAX_PATH)
count := int(C.readlink('/proc/curproc/exe', result, MAX_PATH ))