Skip to content

Commit

Permalink
_M_AMD64 is the same as _M_X64
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Nov 2, 2023
1 parent 60b35ee commit 5b6fd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ _runtime_arm_cpu_features(CPUFeatures *const cpu_features)
static void
_cpuid(unsigned int cpu_info[4U], const unsigned int cpu_info_type)
{
#if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))
#if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
__cpuid((int *) cpu_info, cpu_info_type);
#elif defined(HAVE_CPUID)
cpu_info[0] = cpu_info[1] = cpu_info[2] = cpu_info[3] = 0;
Expand Down

0 comments on commit 5b6fd28

Please sign in to comment.