gowin: Himbaechel. Support DragonFlyBSD
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
165e89f49a
commit
8a54e5ec1c
@ -243,7 +243,7 @@ CommandHandler::CommandHandler(int argc, char **argv) : argc(argc), argv(argv)
|
|||||||
}
|
}
|
||||||
log_streams.clear();
|
log_streams.clear();
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
#if defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
// save the executable origin for proc_self_dirname()
|
// save the executable origin for proc_self_dirname()
|
||||||
npnr_argv0 = argv[0];
|
npnr_argv0 = argv[0];
|
||||||
realpath(npnr_argv0, npnr_path);
|
realpath(npnr_argv0, npnr_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user