aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBradley Lewis <22850972+BradLewis@users.noreply.github.com>2026-02-10 19:45:30 +1100
committerGitHub <noreply@github.com>2026-02-10 19:45:30 +1100
commitc03e7050673957ecae5bd7f35a386312a7f825a8 (patch)
treed4fecf3806cd36199f6cfa7a47d158da4ef5d145 /src
parent3e8434dd66c7cbba28cfa3dd5824b26c2ce70b29 (diff)
parent7d3ebdd2c3f73d4531ec366c90bfc7e0c4a895c4 (diff)
Merge pull request #1289 from bsdcode/fix_check_bsd
Fix checker diagnostics on BSD
Diffstat (limited to 'src')
-rw-r--r--src/server/check.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/check.odin b/src/server/check.odin
index fed3a3f..e8400d3 100644
--- a/src/server/check.odin
+++ b/src/server/check.odin
@@ -148,7 +148,7 @@ check :: proc(paths: []string, uri: common.Uri, config: ^common.Config) {
entry_point_opt,
config.checker_args,
"-json-errors",
- ODIN_OS == .Linux || ODIN_OS == .Darwin ? "2>&1" : "",
+ ODIN_OS in runtime.Odin_OS_Types{.Linux, .Darwin, .FreeBSD, .OpenBSD, .NetBSD} ? "2>&1" : "",
),
&data,
); !ok {