diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-08-09 09:50:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 09:50:05 +0200 |
| commit | cc24d2de3e5cce8f7f3ee969479d66e512478eb5 (patch) | |
| tree | d58859d25514aca1942cb7da52e2b3f20d73c21d /core/flags | |
| parent | bc6deab1759fa10177c7b2a09d2530ffa88d8cc8 (diff) | |
| parent | 6cc7f3b451f6465dcba0ac9c5a0befb734478a02 (diff) | |
Merge pull request #3810 from Feoramund/freebsd-core-net
Port `core:net` to FreeBSD
Diffstat (limited to 'core/flags')
| -rw-r--r-- | core/flags/constants.odin | 2 | ||||
| -rw-r--r-- | core/flags/errors_bsd.odin | 2 | ||||
| -rw-r--r-- | core/flags/errors_nonbsd.odin | 2 | ||||
| -rw-r--r-- | core/flags/internal_rtti_nonbsd.odin | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/flags/constants.odin b/core/flags/constants.odin index ab3dc9a0a..6f5281928 100644 --- a/core/flags/constants.odin +++ b/core/flags/constants.odin @@ -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" diff --git a/core/flags/errors_bsd.odin b/core/flags/errors_bsd.odin index 10c04b506..1fe6de90b 100644 --- a/core/flags/errors_bsd.odin +++ b/core/flags/errors_bsd.odin @@ -1,4 +1,4 @@ -//+build freebsd, netbsd, openbsd +//+build netbsd, openbsd package flags import "base:runtime" diff --git a/core/flags/errors_nonbsd.odin b/core/flags/errors_nonbsd.odin index ff46f38ed..a77f12abf 100644 --- a/core/flags/errors_nonbsd.odin +++ b/core/flags/errors_nonbsd.odin @@ -1,4 +1,4 @@ -//+build !freebsd !netbsd !openbsd +//+build !netbsd !openbsd package flags import "base:runtime" diff --git a/core/flags/internal_rtti_nonbsd.odin b/core/flags/internal_rtti_nonbsd.odin index 196c27ab8..27fdb3b75 100644 --- a/core/flags/internal_rtti_nonbsd.odin +++ b/core/flags/internal_rtti_nonbsd.odin @@ -1,5 +1,5 @@ //+private -//+build !freebsd !netbsd !openbsd +//+build !netbsd !openbsd package flags import "core:net" |