We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd9bc2 commit a6cfde6Copy full SHA for a6cfde6
lldb/source/Host/posix/HostInfoPosix.cpp
@@ -119,7 +119,7 @@ std::optional<std::string> PosixUserIDResolver::DoGetUserName(id_t uid) {
119
}
120
121
std::optional<std::string> PosixUserIDResolver::DoGetGroupName(id_t gid) {
122
-#ifndef __ANDROID__
+#if !defined(__ANDROID__) || __ANDROID_API__ >= 24
123
char group_buffer[PATH_MAX];
124
size_t group_buffer_size = sizeof(group_buffer);
125
struct group group_info;
0 commit comments