From 72037da0badf4c2ae0293d7b8b350651e4f96a61 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Fri, 9 Sep 2016 11:53:34 +0300 Subject: [PATCH] Fix building with MSVC for ARM cmnintrin.h only existed for Windows CE, and doesn't seem to actually be necessary for building this. --- libFDK/include/FDK_archdef.h | 1 - libSBRdec/src/arm/lpp_tran_arm.cpp | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h index 1fadd2c..23224d5 100644 --- a/libFDK/include/FDK_archdef.h +++ b/libFDK/include/FDK_archdef.h @@ -154,7 +154,6 @@ amm-info@iis.fraunhofer.de #endif #ifdef _M_ARM -#include "cmnintrin.h" #include "armintr.h" #endif diff --git a/libSBRdec/src/arm/lpp_tran_arm.cpp b/libSBRdec/src/arm/lpp_tran_arm.cpp index 78bbc2c..028a26f 100644 --- a/libSBRdec/src/arm/lpp_tran_arm.cpp +++ b/libSBRdec/src/arm/lpp_tran_arm.cpp @@ -97,7 +97,10 @@ amm-info@iis.fraunhofer.de #ifdef FUNCTION_LPPTRANSPOSER_func1 /* Note: This code requires only 43 cycles per iteration instead of 61 on ARM926EJ-S */ -__attribute__ ((noinline)) static void lppTransposer_func1( +#ifdef __GNUC__ +__attribute__ ((noinline)) +#endif +static void lppTransposer_func1( FIXP_DBL *lowBandReal, FIXP_DBL *lowBandImag, FIXP_DBL **qmfBufferReal,