mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix macOS
This commit is contained in:
@@ -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