Add foreign imports for Darwin to vendor:stb

This commit is contained in:
Wes Hardee
2022-03-22 15:55:37 -05:00
parent 0446d9721b
commit f89ebce807
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ import c "core:c/libc"
when ODIN_OS == .Windows { foreign import stbi "../lib/stb_image.lib" }
when ODIN_OS == .Linux { foreign import stbi "../lib/stb_image.a" }
when ODIN_OS == .Darwin { foreign import stbi "../lib/stb_image.a" }
#assert(size_of(b32) == size_of(c.int))