gowin: Himbaechel. Support DragonFlyBSD
We add support right here so that later I don’t have to make patches to the ports. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
565927dfcc
commit
165e89f49a
@ -148,7 +148,7 @@ std::string proc_self_dirname()
|
|||||||
}
|
}
|
||||||
#elif defined(EMSCRIPTEN) || defined(__wasm)
|
#elif defined(EMSCRIPTEN) || defined(__wasm)
|
||||||
std::string proc_self_dirname() { return "/"; }
|
std::string proc_self_dirname() { return "/"; }
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
char npnr_path[PATH_MAX];
|
char npnr_path[PATH_MAX];
|
||||||
char *npnr_argv0;
|
char *npnr_argv0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user