mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
More std lib fixes
Just selecting the same codepath as other BSD's for the most part.
This commit is contained in:
+2
-2
@@ -30,7 +30,7 @@ when ODIN_OS == .Windows {
|
||||
resolv_conf = "",
|
||||
hosts_file = "%WINDIR%\\system32\\drivers\\etc\\hosts",
|
||||
}
|
||||
} else when ODIN_OS == .Linux || ODIN_OS == .Darwin || ODIN_OS == .OpenBSD {
|
||||
} else when ODIN_OS == .Linux || ODIN_OS == .Darwin || ODIN_OS == .OpenBSD || ODIN_OS == .NetBSD {
|
||||
DEFAULT_DNS_CONFIGURATION :: DNS_Configuration{
|
||||
resolv_conf = "/etc/resolv.conf",
|
||||
hosts_file = "/etc/hosts",
|
||||
@@ -854,4 +854,4 @@ parse_response :: proc(response: []u8, filter: DNS_Record_Type = nil, allocator
|
||||
}
|
||||
|
||||
return _records[:], true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user