From 165e89f49af97550f5bdd5237e99320b865e2b31 Mon Sep 17 00:00:00 2001 From: YRabbit Date: Sat, 16 Sep 2023 11:43:13 +1000 Subject: [PATCH] gowin: Himbaechel. Support DragonFlyBSD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We add support right here so that later I don’t have to make patches to the ports. Signed-off-by: YRabbit --- common/kernel/command.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kernel/command.cc b/common/kernel/command.cc index ceb058c8..cbd68e16 100644 --- a/common/kernel/command.cc +++ b/common/kernel/command.cc @@ -148,7 +148,7 @@ std::string proc_self_dirname() } #elif defined(EMSCRIPTEN) || defined(__wasm) std::string proc_self_dirname() { return "/"; } -#elif defined(__OpenBSD__) +#elif defined(__OpenBSD__) || defined(__DragonFly__) char npnr_path[PATH_MAX]; char *npnr_argv0;