loader: Add stub function for OpenBSD executable path

This commit is contained in:
Brad Smith
2022-08-31 15:56:19 -04:00
committed by Charles Giessen
parent 52ba0949c8
commit 2d04b71e5c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ static inline char *loader_platform_executable_path(char *buffer, size_t size) {
return buffer;
}
#elif defined(__Fuchsia__)
#elif defined(__Fuchsia__) || defined(__OpenBSD__)
static inline char *loader_platform_executable_path(char *buffer, size_t size) { return NULL; }
#elif defined(__QNXNTO__)
+1 -1
View File
@@ -936,7 +936,7 @@ static inline std::string test_platform_executable_path() {
return buffer;
}
#elif defined(__Fuchsia__)
#elif defined(__Fuchsia__) || defined(__OpenBSD__)
static inline std::string test_platform_executable_path() { return {}; }
#elif defined(__QNXNTO__)