vendor/libc: a bunch of additions

All these additions are to allow Dear ImGui to be compiled natively.
This commit is contained in:
Laytan Laats committed 2025-03-12 19:25:35 +01:00
1 parent d3b1aaad18
commit 140c902eff
15 files changed
+855 -15

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package odin_libc
import "core:time"
clock_t :: i64
@(require, linkage="strong", link_name="clock")
clock :: proc "c" () -> clock_t {
return time.tick_now()._nsec
}