mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-09 14:32:41 +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)
|
||||
}
|
||||
|
||||
cval := posix.getenv(ckey)
|
||||
cval := posix.getenv(cstring(raw_data(buf)))
|
||||
if cval == nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user