Skip to content

Commit

Permalink
fix x86 MSVC detection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed Jul 8, 2024
1 parent ac48481 commit 4bf13d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ using std::vector;

namespace {

#if defined(_M_AMD64)
#if defined(_M_IX86) || defined(_M_AMD64)

void cpuid(int info[4], int infoType, int extra) {
__cpuidex(info, infoType, extra);
Expand All @@ -77,7 +77,7 @@ void cpuid(int info[4], int infoType, int extra) {

#endif

#if defined(__x86_64__) || defined(__i386__) || defined(_M_AMD64)
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86) || defined(_M_AMD64)

enum class VendorSignatures {
Unknown,
Expand Down

0 comments on commit 4bf13d6

Please sign in to comment.