1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

SystemStats: Add Sonoma to OperatingSystemType enum

This commit is contained in:
reuk 2023-11-19 15:22:29 +00:00
parent 17c9de053f
commit 28375c18c9
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
3 changed files with 3 additions and 0 deletions

View file

@ -136,6 +136,7 @@ SystemStats::OperatingSystemType SystemStats::getOperatingSystemType()
case 11: return MacOS_11;
case 12: return MacOS_12;
case 13: return MacOS_13;
case 14: return MacOS_14;
}
return MacOSX;

View file

@ -350,6 +350,7 @@ String SystemStats::getOperatingSystemName()
case MacOS_11: JUCE_FALLTHROUGH
case MacOS_12: JUCE_FALLTHROUGH
case MacOS_13: JUCE_FALLTHROUGH
case MacOS_14: JUCE_FALLTHROUGH
case UnknownOS: JUCE_FALLTHROUGH
case WASM: JUCE_FALLTHROUGH

View file

@ -65,6 +65,7 @@ public:
MacOS_11 = MacOSX | 16,
MacOS_12 = MacOSX | 17,
MacOS_13 = MacOSX | 18,
MacOS_14 = MacOSX | 19,
Win2000 = Windows | 1,
WinXP = Windows | 2,