mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
add macOS Tahoe to odin report and core:sys/info
This commit is contained in:
@@ -34,6 +34,7 @@ init_platform :: proc() {
|
|||||||
} else {
|
} else {
|
||||||
os_version.platform = .MacOS
|
os_version.platform = .MacOS
|
||||||
switch version.majorVersion {
|
switch version.majorVersion {
|
||||||
|
case 26: ws(&b, "macOS Tahoe")
|
||||||
case 15: ws(&b, "macOS Sequoia")
|
case 15: ws(&b, "macOS Sequoia")
|
||||||
case 14: ws(&b, "macOS Sonoma")
|
case 14: ws(&b, "macOS Sonoma")
|
||||||
case 13: ws(&b, "macOS Ventura")
|
case 13: ws(&b, "macOS Ventura")
|
||||||
|
|||||||
@@ -540,6 +540,7 @@ gb_internal void report_os_info() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (major) {
|
switch (major) {
|
||||||
|
case 26: gb_printf("macOS Tahoe"); break;
|
||||||
case 15: gb_printf("macOS Sequoia"); break;
|
case 15: gb_printf("macOS Sequoia"); break;
|
||||||
case 14: gb_printf("macOS Sonoma"); break;
|
case 14: gb_printf("macOS Sonoma"); break;
|
||||||
case 13: gb_printf("macOS Ventura"); break;
|
case 13: gb_printf("macOS Ventura"); break;
|
||||||
|
|||||||
Reference in New Issue
Block a user