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
2025-03-12 19:25:35 +01:00
parent d3b1aaad18
commit 140c902eff
15 changed files with 855 additions and 15 deletions
+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
}