mirror of https://github.com/PCSX2/pcsx2.git
common: Don't use linux-specific OS description
wxGetLinuxDistributionInfo is linux only
This commit is contained in:
parent
4df3bee178
commit
a94a324423
|
@ -53,7 +53,11 @@ u64 GetCPUTicks()
|
|||
|
||||
wxString GetOSVersionString()
|
||||
{
|
||||
#if defined(__linux__)
|
||||
return wxGetLinuxDistributionInfo().Description;
|
||||
#else // freebsd
|
||||
return wxGetOsDescription();
|
||||
#endif
|
||||
}
|
||||
|
||||
void ScreensaverAllow(bool allow)
|
||||
|
|
Loading…
Reference in New Issue