mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Add a note for OpenBSD and getting path names of running executables.
This commit is contained in:
committed by
Michał Janiszewski
parent
e5d305f9e7
commit
46ae0578e4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user