NOISSUE fix macOS architecture probing code

Missed a few renames...
This commit is contained in:
Petr Mrázek 2024-12-21 03:50:57 +01:00
parent 49970ae730
commit cb36585d86

View File

@ -74,10 +74,10 @@ Sys::Architecture Sys::systemArchitecture() {
return Sys::Architecture(ArchitectureType::AMD64); return Sys::Architecture(ArchitectureType::AMD64);
} }
else if (arch == "i386") { else if (arch == "i386") {
return Sys::Architecture(ArchitectureType::I386); return Sys::Architecture(ArchitectureType::X86);
} }
else if (arch == "arm64") { else if (arch == "arm64") {
return Sys::Architecture(ArchitectureType::ARM64); return Sys::Architecture(ArchitectureType::AARCH64);
} }
else { else {
return Sys::Architecture(arch); return Sys::Architecture(arch);