Implement Linux POSIX compliance for poll, sched, sys/select. Fix enum in fcntl.

This commit is contained in:
Isaac Andrade
2024-09-14 20:23:42 -06:00
parent aa91479870
commit 8616842ec6
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ when ODIN_OS == .NetBSD {
LSELECT :: "select"
}
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD {
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD || ODIN_OS == .Linux {
suseconds_t :: distinct (c.int32_t when ODIN_OS == .Darwin || ODIN_OS == .NetBSD else c.long)