put FILE in core:c and use that in bindings to fix wasm

This commit is contained in:
Laytan Laats committed 2025-01-27 19:00:04 +01:00
1 parent f918bc9f50
commit 34aa326d99
4 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
package libc
import "core:c"
import "core:io"
when ODIN_OS == .Windows {
@@ -15,7 +16,7 @@ when ODIN_OS == .Windows {
// 7.21 Input/output
FILE :: struct {}
FILE :: c.FILE
Whence :: enum int {
SET = SEEK_SET,