Add support for darwin to core:c/libc
This commit is contained in:
1 parent
bb7703fcec
commit
f09638318f
14 files changed
+116
-8
No files matched your search
@@ -4,6 +4,8 @@ package libc
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
foreign import libc "system:libucrt.lib"
|
||||
} else when ODIN_OS == "darwin" {
|
||||
foreign import libc "system:System.framework"
|
||||
} else {
|
||||
foreign import libc "system:c"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user