Haiku: more posix

This commit is contained in:
avanspector
2025-01-10 06:40:29 +01:00
parent a6dccf5e98
commit 5d3a069e7a
36 changed files with 773 additions and 136 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
#+build darwin, linux, freebsd, openbsd, netbsd
#+build darwin, linux, freebsd, openbsd, netbsd, haiku
package posix
import "core:c"
when ODIN_OS == .Darwin {
foreign import lib "system:System.framework"
} else when ODIN_OS == .Haiku {
foreign import lib "system:network"
} else {
foreign import lib "system:c"
}