Add POSIX dirent struct for Linux.
This commit is contained in:
1 parent
1adea2f4d6
commit
90aa7dff04
4 files changed
+30
-1
No files matched your search
@@ -410,6 +410,9 @@ when ODIN_OS == .Darwin {
|
||||
l_whence: c.short, /* [PSX] flag (Whence) of starting offset */
|
||||
}
|
||||
|
||||
} else when ODIN_OS == .Linux {
|
||||
off_t :: distinct c.uint64_t
|
||||
off_t32 :: distinct c.uint32_t
|
||||
} else {
|
||||
#panic("posix is unimplemented for the current target")
|
||||
}
|
||||
Reference in new issue
Block a user