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

solaris: small fix

This commit is contained in:
Alexander Medvednikov 2019-09-27 00:24:15 +03:00
parent 107e9107c8
commit fcf8f7fc93

View File

@ -631,8 +631,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 ))