Give FreeBSD access to core:net in core:flags

This commit is contained in:
Feoramund
2024-08-05 03:04:01 -04:00
parent d9404d928c
commit ba0581ae79
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ IMPORTING_TIME :: #config(ODIN_CORE_FLAGS_USE_TIME, time.IS_SUPPORTED)
// Override support for parsing `net` types.
// TODO: Update this when the BSDs are supported.
IMPORTING_NET :: #config(ODIN_CORE_FLAGS_USE_NET, ODIN_OS == .Windows || ODIN_OS == .Linux || ODIN_OS == .Darwin)
IMPORTING_NET :: #config(ODIN_CORE_FLAGS_USE_NET, ODIN_OS == .Windows || ODIN_OS == .Linux || ODIN_OS == .Darwin || ODIN_OS == .FreeBSD)
TAG_ARGS :: "args"
SUBTAG_NAME :: "name"

View File

@@ -1,4 +1,4 @@
//+build freebsd, netbsd, openbsd
//+build netbsd, openbsd
package flags
import "base:runtime"

View File

@@ -1,4 +1,4 @@
//+build !freebsd !netbsd !openbsd
//+build !netbsd !openbsd
package flags
import "base:runtime"

View File

@@ -1,5 +1,5 @@
//+private
//+build !freebsd !netbsd !openbsd
//+build !netbsd !openbsd
package flags
import "core:net"