Add support for darwin to core:c/libc

This commit is contained in:
gingerBill committed 2021-11-16 21:19:08 +00:00
1 parent bb7703fcec
commit f09638318f
14 files changed
+116 -8

No files matched your search

+2
View File
@@ -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"
}