Skip to content

Commit

Permalink
[vcpkg] Add missing check for x86 (#12678)
Browse files Browse the repository at this point in the history
  • Loading branch information
arves100 authored Aug 5, 2020
1 parent 1835605 commit e79a4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/base/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace vcpkg
#else // ^^^ defined(_WIN32) / !defined(_WIN32) vvv
#if defined(__x86_64__) || defined(_M_X64)
return CPUArchitecture::X64;
#elif defined(__x86__) || defined(_M_X86)
#elif defined(__x86__) || defined(_M_X86) || defined(__i386__)
return CPUArchitecture::X86;
#elif defined(__arm__) || defined(_M_ARM)
return CPUArchitecture::ARM;
Expand Down

0 comments on commit e79a4f3

Please sign in to comment.