Add POSIX Linux support for net_if and netdb.
This commit is contained in:
1 parent
a248d49f34
commit
35f961d80f
2 files changed
+37
-3
No files matched your search
@@ -44,7 +44,7 @@ foreign lib {
|
||||
if_freenameindex :: proc(ptr: ^if_nameindex_t) ---
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
// NOTE: `_t` suffix added due to name conflict.
|
||||
|
||||
|
||||
Reference in new issue
Block a user