mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-19 17:13:36 -04:00
loader: Add stub function for OpenBSD executable path
This commit is contained in:
committed by
Charles Giessen
parent
52ba0949c8
commit
2d04b71e5c
@@ -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__)
|
||||
|
||||
|
||||
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user