[lldb] Another build fix for 8b8070e23

This particular usage was guarded by !__linux__, so it broke everywhere
else. It should probably be replaced by something else.
This commit is contained in:
Pavel Labath
2021-10-22 15:28:06 +02:00
parent d8e50c9dba
commit f37463b2ee

View File

@@ -161,7 +161,7 @@ lldb_private::Status PlatformRemoteMacOSX::GetFileWithUUID(
if (m_remote_platform_sp) {
std::string local_os_build;
#if !defined(__linux__)
HostInfo::GetOSBuildString(local_os_build);
local_os_build = HostInfo::GetOSBuildString().getValueOr("");
#endif
std::string remote_os_build;
m_remote_platform_sp->GetOSBuildString(remote_os_build);