diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h index 8ad97545..ebfa2ebf 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 d9f4d2bd..70f8cfa4 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__)