From 46ae0578e48415a34b2a60fe1e8cc7f81ec2c1f2 Mon Sep 17 00:00:00 2001 From: Brian Callahan Date: Sun, 25 Jun 2017 17:01:59 -0400 Subject: [PATCH] Add a note for OpenBSD and getting path names of running executables. --- src/openrct2/platform/linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrct2/platform/linux.c b/src/openrct2/platform/linux.c index a12be5c0d5..aebbb84177 100644 --- a/src/openrct2/platform/linux.c +++ b/src/openrct2/platform/linux.c @@ -57,6 +57,8 @@ void platform_get_exe_path(utf8 *outPath, size_t outSize) } #elif defined(__OpenBSD__) + // There is no way to get the path name of a running executable. + // If you are not using the port or package, you must change this line! strlcpy(exePath, "/usr/local/bin/", sizeof(exePath)); #else #error "Platform does not support full path exe retrieval"