summaryrefslogtreecommitdiff
path: root/src/arch/x86/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/memcpy.c')
-rw-r--r--src/arch/x86/memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/memcpy.c b/src/arch/x86/memcpy.c
index 1cfdf89175..93002cdd27 100644
--- a/src/arch/x86/memcpy.c
+++ b/src/arch/x86/memcpy.c
@@ -15,7 +15,7 @@ void *memcpy(void *dest, const void *src, size_t n)
#endif
asm volatile(
-#ifdef __x86_64__
+#if ENV_X86_64
"rep ; movsd\n\t"
"mov %4,%%rcx\n\t"
#else