diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2025-04-17 20:34:59 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2025-04-17 20:34:59 +0200 |
| commit | 8085798c21fd25fe866c75aa9d11bf379dced862 (patch) | |
| tree | 12264a6469743cb65e73d0024f6f022468ff80e1 /src | |
| parent | 0ebf26978711598c8261dbdbaab98591483e8ac9 (diff) | |
| parent | 890154d3811c1e44dc0e75d24ea902c8910a71f7 (diff) | |
Merge branch 'master' of https://github.com/DanielGavin/ols
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/util.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.odin b/src/common/util.odin index 10845c4..c702651 100644 --- a/src/common/util.odin +++ b/src/common/util.odin @@ -72,8 +72,8 @@ resolve_home_dir :: proc( } } -when ODIN_OS == .Darwin || ODIN_OS == .Linux || ODIN_OS == .NetBSD { FILE :: struct {} +when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .Linux || ODIN_OS == .NetBSD { run_executable :: proc(command: string, stdout: ^[]byte) -> (u32, bool, []byte) { fp := popen(strings.clone_to_cstring(command, context.temp_allocator), "r") |