ref: 47934b3042f85b66699daa4663badd2b4435dbd2
parent: bf7dd96bebec55c34bf8057a04c6027f0f86c46f
author: Martin Storsjö <martin@martin.st>
date: Sat Feb 8 21:19:48 EST 2014
Fix building for win64 with assembly disabled
--- a/codec/common/cpu.h
+++ b/codec/common/cpu.h
@@ -85,7 +85,7 @@
typedef void (*WelsXmmRegProtectFunc)(void * pSrc);
-#ifdef WIN64
+#if defined(WIN64) && defined(X86_ASM)
#define XMMREG_PROTECT_DECLARE(name) \
WelsXmmRegProtectFunc name##load;\
WelsXmmRegProtectFunc name##store;\