summaryrefslogtreecommitdiff
path: root/thirdparty/libvpx/vpx_ports/system_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/libvpx/vpx_ports/system_state.h')
-rw-r--r--thirdparty/libvpx/vpx_ports/system_state.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/thirdparty/libvpx/vpx_ports/system_state.h b/thirdparty/libvpx/vpx_ports/system_state.h
index 086c64681f..01989dcafc 100644
--- a/thirdparty/libvpx/vpx_ports/system_state.h
+++ b/thirdparty/libvpx/vpx_ports/system_state.h
@@ -13,10 +13,10 @@
#include "./vpx_config.h"
-#if ARCH_X86 || ARCH_X86_64
-void vpx_reset_mmx_state(void);
-#define vpx_clear_system_state() vpx_reset_mmx_state()
+#if defined(WEBM_X86ASM) && (ARCH_X86 || ARCH_X86_64)
+ void vpx_reset_mmx_state(void);
+ #define vpx_clear_system_state() vpx_reset_mmx_state()
#else
-#define vpx_clear_system_state()
+ #define vpx_clear_system_state()
#endif // ARCH_X86 || ARCH_X86_64
#endif // VPX_PORTS_SYSTEM_STATE_H_