Add support for darwin to core:c/libc

This commit is contained in:
gingerBill
2021-11-16 21:19:08 +00:00
parent bb7703fcec
commit f09638318f
14 changed files with 116 additions and 8 deletions
+2
View File
@@ -6,6 +6,8 @@ import "core:runtime"
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"
}