From ad65097937a58e073bd45c02fd65dc4bc646da65 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Mon, 25 Mar 2024 19:30:54 +0100 Subject: Add openbsd platform --- src/server/build.odin | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/build.odin b/src/server/build.odin index 54ec93a..d8c713a 100644 --- a/src/server/build.odin +++ b/src/server/build.odin @@ -23,8 +23,12 @@ platform_os: map[string]bool = { "freebsd" = true, "darwin" = true, "wasm32" = true, + "openbsd" = true, + "wasi" = true, + "wasm" = true, } + os_enum_to_string: map[runtime.Odin_OS_Type]string = { .Windows = "windows", .Darwin = "darwin", @@ -34,6 +38,8 @@ os_enum_to_string: map[runtime.Odin_OS_Type]string = { .WASI = "wasi", .JS = "js", .Freestanding = "freestanding", + .OpenBSD = "openbsd", + .JS = "wasm", } skip_file :: proc(filename: string) -> bool { -- cgit v1.2.3