solaris: small fix
parent
107e9107c8
commit
fcf8f7fc93
|
@ -631,8 +631,8 @@ pub fn executable() string {
|
||||||
// lol
|
// lol
|
||||||
return os.args[0]
|
return os.args[0]
|
||||||
}
|
}
|
||||||
$if solaris {
|
//$if solaris {
|
||||||
}
|
//}
|
||||||
$if netbsd {
|
$if netbsd {
|
||||||
mut result := malloc(MAX_PATH)
|
mut result := malloc(MAX_PATH)
|
||||||
count := int(C.readlink('/proc/curproc/exe', result, MAX_PATH ))
|
count := int(C.readlink('/proc/curproc/exe', result, MAX_PATH ))
|
||||||
|
|
Loading…
Reference in New Issue