mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
Adding #elif macros for ARM and ARM64 (#5232)
This commit is contained in:
parent
36cb7592b1
commit
92bd67970d
@ -74,6 +74,10 @@ namespace vcpkg::System
|
||||
return CPUArchitecture::X64;
|
||||
#elif defined(__x86__) || defined(_M_X86)
|
||||
return CPUArchitecture::X86;
|
||||
#elif defined(__arm__) || defined(_M_ARM)
|
||||
return CPUArchitecture::ARM;
|
||||
#elif defined(__aarch64__) || defined(_M_ARM64)
|
||||
return CPUArchitecture::ARM64;
|
||||
#else
|
||||
#error "Unknown host architecture"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user