aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu.c')
-rw-r--r--cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu.c b/cpu.c
index 58d9154..3dd2ae8 100644
--- a/cpu.c
+++ b/cpu.c
@@ -21,7 +21,7 @@
#include "cpu.h"
-#if ARCH_X86 && HAVE_EXTERNAL_ASM
+#if ARCH_X86_64 && HAVE_NASM
static int get_cpu_flags_x86(void)
{
int rval = 0;
@@ -161,7 +161,7 @@ int mg2di_cpu_flags_get(void)
{
int flags = 0;
-#if ARCH_X86 && HAVE_EXTERNAL_ASM
+#if ARCH_X86_64 && HAVE_NASM
flags = get_cpu_flags_x86();
#endif