diff options
author | Brad Smith <brad@comstyle.com> | 2022-08-31 22:56:19 +0300 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-08-31 23:11:59 +0300 |
commit | 095a7bf60b22bf595e9866441059057c56086b52 (patch) | |
tree | a7f4c52522d4f91e66003fd9026d692867b3c69c | |
parent | 192efa48a79b0f2d9f7f16fa7f805b498afdf5c2 (diff) |
loader: Add stub function for OpenBSD executable path
-rw-r--r-- | loader/vk_loader_platform.h | 2 | ||||
-rw-r--r-- | tests/framework/test_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h index 8ad97545e..ebfa2ebfb 100644 --- a/loader/vk_loader_platform.h +++ b/loader/vk_loader_platform.h @@ -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__) diff --git a/tests/framework/test_util.h b/tests/framework/test_util.h index d9f4d2bd1..70f8cfa45 100644 --- a/tests/framework/test_util.h +++ b/tests/framework/test_util.h @@ -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__) |