mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
Vendored
+3
-1
@@ -23,6 +23,8 @@ when ODIN_OS == .Windows {
|
|||||||
}
|
}
|
||||||
} else when ODIN_OS == .Linux {
|
} else when ODIN_OS == .Linux {
|
||||||
foreign import lib "system:cmark"
|
foreign import lib "system:cmark"
|
||||||
|
} else when ODIN_OS == .Darwin {
|
||||||
|
foreign import lib "system:cmark"
|
||||||
}
|
}
|
||||||
|
|
||||||
Option :: enum c.int {
|
Option :: enum c.int {
|
||||||
@@ -529,4 +531,4 @@ get_default_mem_allocator_as_odin :: proc() -> runtime.Allocator {
|
|||||||
procedure = cmark_allocator_proc,
|
procedure = cmark_allocator_proc,
|
||||||
data = rawptr(get_default_mem_allocator()),
|
data = rawptr(get_default_mem_allocator()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user