blob: 37a34ef7608ff03e1339569a902dde4b95522c9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/angle/src/common/system_utils.cpp.orig 2024-02-21 00:22:07 UTC
+++ third_party/angle/src/common/system_utils.cpp
@@ -25,7 +25,7 @@ std::string GetExecutableName()
{
std::string GetExecutableName()
{
-#if defined(ANGLE_PLATFORM_ANDROID) && __ANDROID_API__ >= 21
+#if (defined(ANGLE_PLATFORM_ANDROID) && __ANDROID_API__ >= 21) || defined(ANGLE_PLATFORM_BSD)
// Support for "getprogname" function in bionic was introduced in L (API level 21)
const char *executableName = getprogname();
return (executableName) ? std::string(executableName) : "ANGLE";
|