Add support for macOS
This commit is contained in:
1 parent
67d02043fe
commit
5b8a76c583
1 file changed
+3
-1
Vendored
+3
-1
@@ -23,6 +23,8 @@ when ODIN_OS == .Windows {
|
||||
}
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib "system:cmark"
|
||||
} else when ODIN_OS == .Darwin {
|
||||
foreign import lib "system:cmark"
|
||||
}
|
||||
|
||||
Option :: enum c.int {
|
||||
@@ -529,4 +531,4 @@ get_default_mem_allocator_as_odin :: proc() -> runtime.Allocator {
|
||||
procedure = cmark_allocator_proc,
|
||||
data = rawptr(get_default_mem_allocator()),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user