mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 21:10:30 +00:00
Fix Darwin version reporting for older macOS
This commit is contained in:
@@ -527,7 +527,7 @@ gb_internal void report_os_info() {
|
||||
|
||||
#elif defined(GB_SYSTEM_OSX)
|
||||
gbString sw_vers = gb_string_make(heap_allocator(), "");
|
||||
if (!system_exec_command_line_app_output("sw_vers --productVersion", &sw_vers)) {
|
||||
if (!system_exec_command_line_app_output("sw_vers -productVersion", &sw_vers)) {
|
||||
gb_printf("macOS Unknown\n");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user