Browse Source
SystemStats: Return just "Windows" or "MacOSX" when operating system version is unknown
v7.0.9
reuk
3 years ago
No known key found for this signature in database
GPG Key ID: FCB43929F012EE5C
2 changed files with
2 additions and
2 deletions
-
modules/juce_core/native/juce_mac_SystemStats.mm
-
modules/juce_core/native/juce_win32_SystemStats.cpp
|
|
|
@@ -138,7 +138,7 @@ SystemStats::OperatingSystemType SystemStats::getOperatingSystemType() |
|
|
|
case 13: return MacOS_13;
|
|
|
|
}
|
|
|
|
|
|
|
|
return UnknownOS;
|
|
|
|
return MacOSX;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -314,7 +314,7 @@ SystemStats::OperatingSystemType SystemStats::getOperatingSystemType() |
|
|
|
if (major == 5 && minor == 0) return Win2000;
|
|
|
|
|
|
|
|
jassertfalse;
|
|
|
|
return UnknownOS;
|
|
|
|
return Windows;
|
|
|
|
}
|
|
|
|
|
|
|
|
String SystemStats::getOperatingSystemName()
|
|
|
|
|