common: Don't use linux-specific OS description

wxGetLinuxDistributionInfo is linux only
This commit is contained in:
kojin 2021-10-03 16:21:44 -04:00 committed by Kojin
parent 4df3bee178
commit a94a324423
1 changed files with 4 additions and 0 deletions

View File

@ -53,7 +53,11 @@ u64 GetCPUTicks()
wxString GetOSVersionString()
{
#if defined(__linux__)
return wxGetLinuxDistributionInfo().Description;
#else // freebsd
return wxGetOsDescription();
#endif
}
void ScreensaverAllow(bool allow)