Fix macOS
This commit is contained in:
1 parent
6347c87b5b
commit
73dcc39d98
1 file changed
+1
-1
@@ -37,7 +37,7 @@ _lookup_env_buf :: proc(buf: []u8, key: string) -> (value: string, error: Error)
|
|||||||
copy(buf, key)
|
copy(buf, key)
|
||||||
}
|
}
|
||||||
|
|
||||||
cval := posix.getenv(ckey)
|
cval := posix.getenv(cstring(raw_data(buf)))
|
||||||
if cval == nil {
|
if cval == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user