blob: 12144206c6e7acfdb71e17a66a2207e697ab5554 (
plain) (
tree)
|
|
--- third_party/angle/src/common/system_utils.cpp.orig 2024-01-30 07:53:34 UTC
+++ third_party/angle/src/common/system_utils.cpp
@@ -25,7 +25,7 @@ namespace angle
{
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";
|