Replace __attribute__((always_inline)) with FDK_FORCEINLINE

This fixes compilation for ARM with MSVC.
This commit is contained in:
Martin Storsjo 2018-09-02 00:13:51 +03:00
parent d058692675
commit 4cdeed63b4
1 changed files with 3 additions and 3 deletions

View File

@ -641,7 +641,7 @@ static const FIXP_DBL invCubeRootCorrection[3] = {0x40000000, 0x50A28BE6,
*/ */
static static
#ifdef __arm__ #ifdef __arm__
FIXP_DBL __attribute__((always_inline)) FIXP_DBL FDK_FORCEINLINE
invCubeRootNorm2(FIXP_DBL op_m, INT* op_e) invCubeRootNorm2(FIXP_DBL op_m, INT* op_e)
#else #else
FIXP_DBL FIXP_DBL
@ -763,7 +763,7 @@ static const FIXP_DBL invFourthRootCorrection[4] = {0x40000000, 0x4C1BF829,
static static
#ifdef __arm__ #ifdef __arm__
FIXP_DBL __attribute__((always_inline)) FIXP_DBL FDK_FORCEINLINE
invFourthRootNorm2(FIXP_DBL op_m, INT* op_e) invFourthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else #else
FIXP_DBL FIXP_DBL
@ -879,7 +879,7 @@ static const FIXP_DBL inv3EigthRootCorrection[8] = {
static static
#ifdef __arm__ #ifdef __arm__
FIXP_DBL __attribute__((always_inline)) FIXP_DBL FDK_FORCEINLINE
inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e) inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else #else
FIXP_DBL FIXP_DBL