ref: a4d9ba3feb5e1dde9e8005d9b86633f1743649c8
parent: b336bbdbd74b78bcec6861df353cd9b77fc76113
parent: 47934b3042f85b66699daa4663badd2b4435dbd2
author: volvet <qizh@cisco.com>
date: Mon Feb 10 04:00:31 EST 2014
Merge pull request #275 from mstorsjo/fix-win64-noasm-build 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;\