aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-12-19 12:32:10 +0000
committergingerBill <bill@gingerbill.org>2023-12-19 12:32:10 +0000
commit4b38dbe133d29e6ffb3db2e08b01426ffa918e2b (patch)
tree5b0dffff71447f48cda36978097d634d3327e440
parentad0ffa48336aa04185f41e2057b6f683b704af2d (diff)
parentb89fc9191cb1f1623098a46184f33a012091a098 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
-rw-r--r--vendor/commonmark/cmark.odin4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/commonmark/cmark.odin b/vendor/commonmark/cmark.odin
index 80e33cec4..d6801b53a 100644
--- a/vendor/commonmark/cmark.odin
+++ b/vendor/commonmark/cmark.odin
@@ -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()),
}
-} \ No newline at end of file
+}