Add POSIX dirent struct for Linux.

This commit is contained in:
Isaac Andrade
2024-08-23 19:56:45 -06:00
parent 1adea2f4d6
commit 90aa7dff04
4 changed files with 30 additions and 1 deletions
+3
View File
@@ -427,6 +427,9 @@ when ODIN_OS == .Darwin {
UTIME_NOW :: -2
UTIME_OMIT :: -1
} when ODIN_OS == .Linux {
ino_t :: distinct c.unit64_t
ino_t32 :: distinct c.unit32_t
} else {
#panic("posix is unimplemented for the current target")
}