Add a note for OpenBSD and getting path names of running executables.

This commit is contained in:
Brian Callahan authored and Michał Janiszewski committed 2017-06-25 23:26:26 +02:00
1 parent e5d305f9e7
commit 46ae0578e4
1 file changed
+2
+2
View File
@@ -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"