Haiku: more posix
This commit is contained in:
1 parent
a6dccf5e98
commit
5d3a069e7a
36 files changed
+773
-136
No files matched your search
@@ -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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user